Skip to content

Teskann/ForceScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦊 ForceScroll

Firefox extension to automatically enable scrolling on all webpages.

Table of Contents

🖱 Why this project ?

European laws force websites to ask user consent to accept cookies. If you enable the Firefox option to delete cookies every time you close the window, the cookies pop-ups will annoy you at every browser restart. One solution is to block these pop-ups with an ad blocker like uBlock Origin. However, some websites disable scrolling on their page until you accept/refuse cookies. This extension re-enables scrolling.

📥 How to Get it ?

✅ Official release

👉 INSTALL 👈

The add-on is currently under acceptance from Mozilla team.

📦 Pack the Extension and Install it Yourself

Run :

./pack.sh

Then, check the documentation of Firefox about how to install zip extensions.

⚙ How it Works

The extension injects a simple script in every page to enable scrolling:

var r = 'html{overflow:auto !important; height: fit-content}';
var s = document.createElement('style');
s.type = 'text/css';
s.appendChild(document.createTextNode(r));
document.body.appendChild(s);
void 0;

📖 References

  1. Mozilla Firefox Extensions Development
  2. Script source
  3. Icon source

About

Make all webpages scrollable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published