Site Filter (Protocol-Independent)

Manage allowed sites dynamically and reference this in other scripts.

As of 2025-02-23. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v2.6 2025-05-08

    Do not start any processing on iframes or embedded frames on the current site. Revert this change if it is problematic

  • v2.5 2025-05-08

    Use window.top.location.href everywhere, so that only the current site url show up when adding the site to include list. Earlier if the pages contains google captcha or embedded pages, they would hijack the add include site options with their urls. This should now prevent this.

  • v2.4 2025-05-07

    Added Example update in the commented code. Bumped version

  • v2.3 2025-05-07

    Added option to configure a floating button and background observer values.

  • v2.2 2025-02-23
  • v2.2 2025-02-23
  • v2.2 2025-02-23
  • v2.2 2025-02-23
  • v2.2 2025-02-23
  • v2.1 2025-02-23
  • v2.1 2025-02-23
  • v2.1 2025-02-23
  • v2.1 2025-02-23
  • v2.0 2025-02-13
  • v2.0 2025-02-13
  • v2.0 2025-02-13
  • v2.0 2025-02-13
  • v2.0 2025-02-13
  • v1.0 2025-02-13
  • v1.0 2025-02-13
  • v1.0 2025-02-13
  • v3.2 2025-02-13