The user script itself is working fine, but the headers are incomplete.
The first lines should be:
// ==UserScript== // @namespace TecHPrO // @description Short Script Bypass u can add any site using this script // @include http://1short.us/* // ==/UserScript==
Note that the first line is missing. This causes the headers to be ignored, so the script gets applied to all websites. To work properly, it should be restricted to sites of the 1short.us
domain.
As it is, the user script redirects from 1short.us/368527
to 1short.us/m1.php?id=368527
, and from there to turbobit.net/aveyd9fs89oc.html
. So far, so good. It should stop here.
However, due to the missing header, the else
block of the if
statement gets executed again, and the script redirects to turbobit.net/m1.php?id=aveyd9fs89oc.html
. This results in a 404.
The second user script does not work since 1short – apparently – changed the size of their new browser window. Any change to the website will might render a user script useless.
In this case, the line
link2=link2.replace("','name','800','600','yes');return false","");
is supposed to get rid of the unwanted part of the URL, but the actual URL finishes with:
','name','800','800','yes');return false
Changing that line of the user script to
link2=link2.replace("','name','800','800','yes');return false","");
(i.e., replacing 600
with 800
) will fix it.