Git Product home page Git Product logo

Comments (4)

hawkeye116477 avatar hawkeye116477 commented on May 28, 2024

Ta, najwyraźniej problem jest tu => https://github.com/PolishFiltersTeam/PolishCookieConsent/blob/master/src/update.js#L18.

Trzeba będzie doprecyzować => https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/OnInstalledReason, czyli tylko install i update.

from polishcookieconsent.

krystian3w avatar krystian3w commented on May 28, 2024

A takie coś pozwoli na prace w ramkach?

  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "content.js"
      ],
+++   "all_frames": true,
      "run_at": "document_start"
    }
  ],

Niby raz na rok się zdarza pop-up używający iframe, w takich żadne klikanie nie działało i trzeba było polegać na czytelności cookies/localStorage.

Chyba, że bezpieczniej dodawać nieczytelne dla ludzi wpisy w cookies/localStorage.

Po potem zostaje, że ogranicza nas to:

https://github.com/PolishFiltersTeam/PolishCookieConsent/blob/e42822e2de4c892800eadec84921cab1ccf82972/src/content.js#L1-L12

tam trudniej mi ustalić co dyskwalifikuje przechwycenie url ramki w celu weryfikacji czy filtr ma się wykonać.

from polishcookieconsent.

hawkeye116477 avatar hawkeye116477 commented on May 28, 2024

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/content_scripts

Note: This also applies to any tracker or ad that uses iframes, which means that enabling this could make your content script get called dozens of times on some pages.

from polishcookieconsent.

krystian3w avatar krystian3w commented on May 28, 2024

A naprawiamy bug z z wklejaniem np. || do listy wyjątków lub konwersji pustych linii w ||| np.:

abc.pl


def.pl

działa jak abc.pl|||def.pl

Próbowałem konwertować || do | ale jakby o etap za późno lub redukcja ||||| robiła się raz do |||. Niby obecność działa jak użycie @@*$ehide,shide (czyli filtry nie próbują klikać/piec ciastek/robić przekierowań).

from polishcookieconsent.

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.