Wie kann man einen URL-Shortener mit Werbung umgehen?

2313
KorkOoO

Ich suche nach einem Skript, um Links zu umgehen, die von der Website 1short.us bereitgestellt werden, um den Download-Link direkt zu erhalten.

Zum Beispiel: http://1short.us/368527

Gibt es eine Möglichkeit, dies zu tun?

Ich habe dieses Benutzerskript gefunden, aber es kann die zweite Seite nicht umgehen.

// @namespace TecHPrO // @description Short Script Bypass u can add any site using this script // @include http://1short.us/* // ==/UserScript==   var n=location.pathname; var exp= /m1.php/; var x= n.search(exp);  if (x != -1) { var l=document.getElementsByName('groovybtn1')[0]; var s = l.getAttribute('onclick'); var s1= s.split("(\'"); var s2= s1[1]; var s3= s2.split("\',\'"); var s4= s3[0]; window.location= s4;}  else { var p=location.href; var c=p.split("http://"); var c1=c[0]; var c2=c[1].split("/"); var c3=c2[0]; var c4=c2[1] window.location="http://"+c3+"/m1.php?id="+c4; } 

Ich habe ein zweites Benutzerskript gefunden, das jedoch ','name','800','800','yes');return%20falsean die endgültige URL angehängt wird .

Hier ist der Code:

// ==UserScript== // @name 1short.us // @namespace 1short.us/* // @include http://1short.us/* // @version 1 // ==/UserScript==  /*! jQuery v1.8.3 jquery.com | jquery.org/license */  /* Contents of http://code.jquery.com/jquery-1.8.3.min.js */  //this is the place to work in lets test //"NewWindow('mediafire_fix.php?url=http://www.mediafire.com/?a0unhxiksg47ejg','name','800','600','yes');return false" var link =location.href; link=link.replace("http://1short.us/",""); //alert(link); var link2=""; $.get("http://1short.us/m1.php?",{'id':link} ,function(data){ link2=$(data).find(':button').attr('onclick'); link2=link2.replace("NewWindow('",""); link2=link2.replace("','name','800','600','yes');return false",""); location.href=link2 }); 
1
Wenn Sie möchten, dass Sie durch eine vorherige Seite zum Download-Link gelangen, ist es zumindest unhöflich, dies zu umgehen. vonbrand vor 11 Jahren 0
@vonbrand: Du öffnest immer noch die 1-Short-Sites und überspringst sie automatisch und nicht manuell. Es ist ungefähr so ​​unhöflich wie die Verwendung eines Werbeblockers. Das Popup der Anzeige und die Tatsache, dass Sie * den Download * in einem neuen Browserfenster (nicht einmal in einem neuen Tab) öffnen müssen, ist nun unhöflich, würde ich sagen. Dennis vor 11 Jahren 1

1 Antwort auf die Frage

1
Dennis

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.

Okay, das war mir aus deiner Antwort nicht klar. (Sie können dieses Bit in bearbeiten.) Brock Adams vor 11 Jahren 1
Thank u very much Dennis for ur respond, but, as I told u before I couldn't bypass the second page after all (from "1short.us/m1.php?id=368527" to "turbobit......" however, I had found another script that get the job done but, with a little bug . after bypassing pages successfully , this is last result : ( http://turbobit.net/aveyd9fs89oc.html','name','800','800','yes');return%20false ) by your experience, how could i fix it ? KorkOoO vor 11 Jahren 0
Ich habe das Skript mit dem geänderten Header in der neuesten Version von Google Chrome getestet und funktioniert für mich. Welchen Browser benutzen Sie? Dennis vor 11 Jahren 0
thanks again my friend 4 ur fast and useful responds.. I am using opera 12.14 , I will try it on chrome wishing it'll work well . KorkOoO vor 11 Jahren 0
Perfect Dennis , u r greaaaaaaat >>> after my successful trial on firfox , i thought that it could work well if i use the "violent.monkey" opera extension to install the script < and guess what....it works Perfect !! thaaaaaaaaaaaaaanks a lot Dennis for your Valuable help KorkOoO vor 11 Jahren 0
@Dennis wish i could do more than that... actually you did help me to bypass at least 8 other Domains!! by the way, how can I fix the second user script ? I'm just curious KorkOoO vor 11 Jahren 0