Facebook Anti-Refresh

Prevents Facebook from auto-refreshing the news feed

ही स्क्रिप्ट इंस्टॉल करा?
लेखकाने सुचवलेली स्क्रिप्ट

तुम्हाला कदाचित ही स्क्रिप्टदेखील आवडेल: Facebook Auto Unmute.

ही स्क्रिप्ट इंस्टॉल करा
लेखक
areen-c
दैनिक इंस्टॉल
2
एकूण इंस्टॉल
10
रेटिंग
0 0 0
आवृत्ती
1.1
बनवली
2025-05-13
अपडेट केली
2025-05-13
आकार
3.25 KB
License
MIT
यांवर लागू होते:

Facebook Anti-Refresh Userscript

This userscript prevents Facebook from auto-refreshing your feed when you switch tabs. It keeps your place in the timeline instead of that annoying refresh that makes you lose everything you were reading.

Features

  • 🚫 No more losing your place in the feed
  • 💯 Works with latest Facebook interface
  • 🌐 Supports multiple Facebook domains
  • ⚡ Lightweight and efficient

Installation

  1. Install Tampermonkey or Violentmonkey
  2. Click Install on this page
  3. Script runs automatically on Facebook

How It Works

  • Overrides Page Visibility API
  • Intercepts refresh network requests
  • Blocks visibility events
  • Tracks user activity

⚠️ Known Issue

To close Facebook posts, use ESC key or X button only. Clicking outside triggers redirect to top of feed. Script prevents refresh but not the redirect.

See screenshot below for details.