Comments (4)
@kunalvirk sure, go ahead! Here's some tips for you:
- Find several examples of the CMP, preferably different variations of the pop-up
- If you have a VPN, check if the pop-up looks different from multiple regions (at least EU and US)
- Create a new rule JSON file
- First, fill in
prehideSelectors
,detectCmp
, anddetectPopup
- Rebuild the extension (with logs on) and test if it works on all those example pages:
- correctly detects a CMP when popup is open
- does NOT detect an open popup after it's dismissed!
- Then, figure out steps for
optOut
- Test again that it works on all example pages
- Finally, find a way to verify that opt-out has worked and fill in the
test
section. Usually it is possible by matchingdocument.cookie
- Test the whole flow again
- Add a .spec.ts test file including URLs of all different variations of the CMP
- First, fill in
from autoconsent.
Hi,
Can I pick this up and implement CookieFirst?
Thanks
from autoconsent.
Thanks @muodov for the tips, will pick this up and update here shortly.
from autoconsent.
Hi @muodov,
I have added the rule for cookiefirst and tested on few sites. Tested it as per your suggested steps and looks like this is working fine. Here is the commit: kunalvirk@a411d17
Please check if this looks good or it needs any improvement.
Thanks
from autoconsent.
Related Issues (20)
- Unit tests
- Ezoic rule leaves page with overlay blocking interaction
- Termsfeed3 rule does not remove page overlay.
- Sites with cookie paywalls
- Site breakage: espn.com (refresh loop)
- Site breakage: usaa.com (Tealium)
- Site breakage: leboncoin.fr
- Site breakage: www.ffbb.com
- Site breakage: hello-hossy.com
- Site breakage: bitsofwar.com
- Site breakage: https://mitglieder.franzspitzer.de/
- Site breakage: condell-ltd.com
- Overlay on leefgemeenschapzilt.nl
- Question: how to use this library with Peuppeteer? HOT 2
- Site breakage: michelinman.com
- Site breakage: leaddev.com
- Site breakage: malmostadsteater.se
- Site breakage: trustarc.com HOT 1
- Faking user activation is dangerous & can spam users at a minimum with permission requests & installation requests HOT 7
- Site breakage: fidelity.co.uk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoconsent.