Automatically rejects cookies and legitimate interest
这些是代码更新过的版本。 显示所有版本
formatting
add more cookie bannerschange btn_htmlMatch and confirm_htmlMatch to onBtnFound and onConfirm foundadd onBannerFoundthe onXFound functions are for parsing that cannot be done with just selectors
add more cookie banners. general categorization of banners for easier maintenance
more cookie banners
add more cookie banners
remove DONT_CLOSE from most recently added cookie notice because the opt out works correctly
read onToggleFound because it is needed
remove onToggleFound, clicking the toggle works fine
setting checked to false worked, see if clicking it works
try directly setting checked to false
add onToggleFound to verify that clicking did change the checkbox from checked to not checked
cookie banner not responding to clicks, so wait between clicks
update reference to banner after waiting
fix checkbox selector for new cookie banner
wait for 2 seconds so that the cookie notice can load if using the queryAll optionmore precise toggle query and htmlMatch
add DONT_CLOSE option for testing
test didnt work correctly, make sure theres some toggles before trying to click it
started adding another cookie banner (no close button yet, just for testing)
remove privatize iframes function as it's outside the scope of rejecting cookie banners
bug fix
auto remove iframe that use the referrer policies 'origin-when-cross-origin' or 'unsafe-url'make iframe even more privacy respecting
automatically removes the sandbox attribute of iframe elements for greater privacy
better matching for fc-consent-root
bug fix for most recently added banner
add another banner, support different toggle type, add htmlMatch for when selectors on their own arent suitable, code tidy up
add another cookie banner, support shadow DOM, restructure code
confirm choices defiantly works, so re-enable banner.outerHTML = ''; for cookie notices that hang around
banner.outerHTML = '';
implemented confirm choices
aria-pressed is not updated after pressing button, so use :checked insteadtempererally disable banner.outerHTML = ''; so that confirm choices can be implemented
aria-pressed
:checked
added @downloadURL and @updateURL metablock fields. change version number to 1
better name and code tidy up
code tidy up
update to work for similar notice but different layout
added another commonly used cookie banner