FlyerTalk Forums - View Single Post - Infinite / Automatic Scroll: issues, q&a, disable on desktop version
Old Feb 14, 2017 | 6:40 pm
  #155  
Spanish
10 Countries Visited20 Countries Visited30 Countries Visited5 Years on Site
 
Join Date: Nov 2016
Location: CMH
Programs: BA Gold, AA Plat, NK $9 fare club
Posts: 669
I do not know why the script is refreshing screen constantly for you. Is it keep adding "?styleid=17" over and over? I already fix that issue for me.

I run Debian Jessie with Iceweasel & Windows 8.1 with the Firefox. Neither are having issue with the script.

Do you have the following in script?

if (window.location.href.toString().indexOf("?styleid =17") != -1) return false;
if ( ! /\?styleid=17$/.test (oldUrlPath) )

That is the part preventing it from continuously adding. It asking itself "Does URL already end in ?styleid=17, and if so, we will leave the URL alone."

Mine working great. Happy to help if you having any questions.

Last edited by Spanish; Feb 15, 2017 at 1:11 pm Reason: Fixed Script
Spanish is offline