0.9.6 • Published 4 years ago

remove-fbclid v0.9.6

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

remove-fbclid

npm version build size travis PRs Welcome code style: prettier License: MIT

Removes the parameter fbclid that facebook adds on some shared URLs.

The fbclid parameter will be removed via a window.history.replaceState on current browsers and via window.location.replace on older ones.

More info about that parameter:

Usage

Do the following once, on initial page load:

const removeFbclid = require("remove-fbclid");

removeFbclid();

or:

import removeFbclid from "remove-fbclid";

removeFbclid();

Other tips (unrelated to this JavaScript library)

Add the following in your /robots.txt to prevent indexing:

User-agent: *
Disallow: /?fbclid*

License

MIT

0.9.6

4 years ago

0.9.5

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago