4

Some websites, especially news websites, stop you from scrolling through a page in order to force you to sign up, pay money, click a popup etc. It's easy to get rid of popups with an element blocker, but is there a way to turn scrolling back on?

The content is still there and can be seen with a "reader mode" extension, but that often mangles the page enough to be really annoying, gets rid of images etc. The content is even there if you zoom out enough!

EDIT: This stackoverflow question has some technical workarounds that involve messing with the code, but I'm looking for something much more convenient that doesn't involve interacting with the code for the website.

https://stackoverflow.com/questions/39360138/how-to-enable-scrolling-on-website-that-disabled-scrolling

2 Answers 2

6

You can simply download Custom JavaScript for Websites 2.

Link To Download Custom JavaScript for Websites 2

Then, click on CJS Extension. You have to find New RegExp and enter .*

Finally, type the following javascript -

document.body.style.overflow = "visible";

Click on save. This will inject all that code automatically to all websites.

EDIT : A Simpler way to do this -
1. Open any web page and select bookmark this page.
2. Type any preferred name. For e.g. - Scroll.
3. Click on More Option.
4. Replace the URL with the following command - javascript:void(document.body.style.overflow = "visible");
5. Save the bookmark. Now when your scrollbar is blocked, simply click on this bookmark. Instead of opening the url, it will execute the the javascript. :)

7
  • Maybe !important would help?
    – Roko Mijic
    Apr 18, 2020 at 17:01
  • I just got a much better answer. If you need it, I can edit my answer. It uses bookmarklet. Apr 19, 2020 at 9:35
  • sure, feel free to edit or add another answer.
    – Roko Mijic
    Apr 20, 2020 at 16:26
  • @BhavyaGupta others are also interested in the answer to this, so please post your updated answer!
    – ETL
    Apr 23, 2020 at 19:34
  • @ETL I have updated my answer. It would be nice if you tell which of the 2 was more convenient. Apr 24, 2020 at 6:17
1

I had similar problems since you asked for a easy way to do it, I hope this will help others.

Step 1: Ublock Origin extension

Step 2: Logger Use Logger and refresh page

Step 3: Find an event like this p1 p2

Step 4: Create Rule, preferable removing the tail of url p1 p2

Step 5: Refresh and enjoy scrolling for an unlimited time

tags (stop websites scroll blocking)

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Aug 8, 2022 at 22:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .