FlyerTalk Forums - View Single Post - Infinite / Automatic Scroll: issues, q&a, disable on desktop version
Old Feb 14, 2017 | 10:28 pm
  #157  
Zorak
Moderator: Hyatt, American Express; FlyerTalk Evangelist
Community Builder
Active Streak: 30 Days
All eyes on you!
10 Years on Site
 
Join Date: Jun 2015
Location: WAS
Programs: :rolleyes:, DL DM, AA EXP, UA Silver, Hyatt Glob, Mlife Noir (=> Marriott Amb), invol FT beta tester
Posts: 21,701
Originally Posted by TheLifeOfA_NKCM
Copied the script verbatim into Tamper monkey on Windows 10 Aniversary Edition with the latest version of Chrome. For some reason, it just keeps testing the URL and even if it passes or has already updated the URL it'll just keep going
I haven't tried running this directly as a GreaseMonkey script, but just reading things over I think there's an extra space in the version in the wiki:

Code:
if (window.location.href.toString().indexOf("?styleid =17") != -1) return false;
there's a space between styleid and =17 that should be removed.
Zorak is offline