Fight for the Internet 1!

Friday, March 6, 2015

Tiny Trick to make Autopager work again for Firefox

Overview

tl;dr When a page that should Autopagerize doesn't work, open the "Manage Setting" in Autopager. Find the specific rules for site (via searching usually, and make sure you haven't created any personal ones that overrides it). On the "General" tab on the right, uncheck the option "Enable Javascript while loading page." Then try loading your page again. This fixed my problems.

The Problem

I've been using Autopager for the better part of a decade, and it's changed the way I browse the internet.

Unfortunately I have noticed on occasion that sometimes with certain pages Autopager doesn't work in Firefox like it should, especially when the pages used to Autopagerize properly. (I think that's the right word for it.) For example, Autopager doesn't work on Deviantart in Firefox. I usually attributed the failure to a Rules download problem and left it to be fixed automatically overtime. However lately I've noticed some problems have persisted for months and sometimes years.

Recently I decided it was time to fix this problem.

Diagnosis

First I tried loading the pages in Chrome, and sure enough, they Autopagerized correctly. I created a fresh copy of Firefox with no add-ons, loaded Autopager and tried again. Didn't work, so I could rule out conflicting add-ons.

Googling for help produced no usable information. It's apparently not a well documented problem.

From the autopager home website, I tried importing various different rules for DeviantArt, made by different people. But none of them worked

I began manually inspecting the rules for one problem page (that example happened to be DeviantArt) and I could find nothing unusual or wrong. Then I noticed something I hadn't seen before, a checkbox option to "Enable Javascript while loading page." This was checked. Having nothing to lose, I disabled that option, and tried reloading the DeviantArt gallery I was currently browsing.

Amazingly, it worked! Fantastically!

Cause of Problem

My guess is that while the front end of a page doesn't change a lot, the underlying structure, which includes Javascript, might. It's something the average user and even developer isn't going to notice right away. It can also be done overtime by third-parties so even main websites might not be aware.

I also use NoScript to disable a lot of javascript execution, so this too could cause problems, but it did not in this case. My tests with the fresh profile of Firefox with no add-ons aside from Autopager specifically didn't have NoScript installed. Still, this is worth considering.

Solution
So the solution when a page that should Autopagerize doesn't work, open the "Manage Setting" in Autopager. Find the specific rules for site (via searching usually, and make sure you haven't created any personal ones that overrides it). On the "General" tab on the right, uncheck the option "Enable Javascript while loading page." Then try loading the page again.

2 comments: