Skip to content

disinfeqt/Implausible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implausible

A zero-build Chrome extension that sets:

localStorage.plausible_ignore = true;

on every HTTP and HTTPS website at document_start, before the website's own scripts run.

Install

  1. Open chrome://extensions.
  2. Turn on Developer mode.
  3. Click Load unpacked.
  4. Select this implausible folder.
  5. Reload any tabs that were already open.

Chrome will warn that the extension can read and change data on all websites. That access is required to write the localStorage flag on every site. This extension only writes and verifies the single plausible_ignore key. It sends no data anywhere.

Check that it works

On a normal HTTP or HTTPS page:

  • Click the extension icon and look for Active on this site, or
  • Open DevTools and run localStorage.getItem("plausible_ignore"); the result should be "true".

On a website using Plausible, its console should report Ignoring Event: localStorage flag when warnings are visible.

Limits

  • Chrome blocks extensions on internal pages such as chrome:// and on some other protected pages.
  • A site that disables localStorage, uses a sandboxed document, or deliberately removes the key can prevent the flag from persisting.
  • Domains and subdomains have separate storage. Matching every HTTP and HTTPS page makes the extension set the flag independently for each one as visited.
  • Incognito has separate storage and requires enabling Allow in Incognito for this extension.

Remove the flag later

Disable or remove the extension, then reload the site and run:

delete localStorage.plausible_ignore;

Plausible documents this opt-out method at: https://plausible.io/docs/excluding-localstorage

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors