Originally Posted by
Spanish
All you need to do is add "?styleid=17" to the end of any Flyertalk URL.

For those with Greasemonkey, a simple script for you. You no needing to be logged in for this to be effective.
Here you go:
// ==UserScript==
// @name Flyertalk_Remove_Infinite_Scroll
// @match *://*.flyertalk.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
var oldUrlPath = window.location.pathname;
/*--- Test that "?styleid=17" is at end of URL, excepting any "hashes"
or searches.
*/
if (window.location.href.toString().indexOf("?styleid =17") != -1) return false;
if ( ! /\?styleid=17$/.test (oldUrlPath) ) {
var newURL = window.location.protocol + "//"
+ window.location.host
+ oldUrlPath + "?styleid=17"
+ window.location.search
+ window.location.hash
;
/*-- replace() puts the good page in the history instead of the
bad page.
*/
window.location.replace (newURL);
}
Oh thanks. And now I can whitelist this site again on ABP. For those who didn't know, you just click on block an ad on this page" then select the two I.S. modules
The only annoying thing about it is that the script has to autoreload the page for it to take effect, hence increasing page load times. Sometimes even it gets stuck in a refresh loop so you have to disable it after the first run. -If we can find a way around that, we're in the clear. Anyways: HUGE +1 for the script ^^^
While we're at it we might as well make a script where everytime you type in FT search, it replaces the page with google and "site:flyertalk.com {search query}" in the search bar.