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