AntiPinterRef is a Tampermonkey/Violentmonkey userscript that prevents Pinterest’s annoying auto-refresh/reset “feature” by simulating user activity and blocking forced reload triggers.
- 🛑 Blocks Pinterest’s auto-refresh banners (no more “See new pins” popping up)
- 🎭 Spoofs user activity (fake mouse moves, key presses, tiny scrolls)
- 🔒 Prevents
location.reload()hijacks - 🎨 Adds a sidebar About button with credits
- ⚙️ Configurable via constants (interval, jitter, verbose logging)
- Install a userscript manager:
- Click the Install AntiPinterRef button above ⬆️
- Confirm the installation in your userscript manager.
You can tweak script behavior by editing the CONFIG object inside the script:
const CONFIG = {
intervalMs: 20_000, // how often to fake activity (ms)
tinyScrollPx: 10, // scroll amount per "nudge"
jitter: true, // add randomness to activity
verbose: false // enable console debug logs
};Clone the repo:
git clone https://github.com/lycanld/AntiPinterRef.git
cd AntiPinterRefEdit AntiPinterRef.user.js and load it in Tampermonkey as a local file script for testing.
When ready, commit and push — the raw GitHub URL can be used for installs.
Pull requests are welcome! If you find new Pinterest tricks that the script can use, contact me!
MIT © LycanLD

