Giter Club home page Giter Club logo

Comments (4)

muodov avatar muodov commented on June 3, 2024 1

@kunalvirk sure, go ahead! Here's some tips for you:

  • Find several examples of the CMP, preferably different variations of the pop-up
    • To find more examples, try searching PublicWWW or BuiltWith
    • navigating to the vendor's own website is also a good idea
  • 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, and detectPopup
    • 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 matching document.cookie
    • Test the whole flow again
    • Add a .spec.ts test file including URLs of all different variations of the CMP

from autoconsent.

kunalvirk avatar kunalvirk commented on June 3, 2024

Hi,

Can I pick this up and implement CookieFirst?

Thanks

from autoconsent.

kunalvirk avatar kunalvirk commented on June 3, 2024

Thanks @muodov for the tips, will pick this up and update here shortly.

from autoconsent.

kunalvirk avatar kunalvirk commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.