Pages

Thursday, September 10, 2009

TinyURL Decoder with Linkbee enhanced - UserScript

Base: TinyURL Decoder 2009/Sep/10th 0:25 JST
http://userscripts.org/scripts/show/40582
hp: http://matatabi.homeip.net - http://straitmouth.jp/blog/setomits/1513

Compatible with FF GreaseMonkey, Opera (Emulate GM functions), Safari on Mac with GreaseMonkey ext. support.
Incompatible with Chrome (GM_xmlhttpRequest)

Changes:
add

Merge

+ else if (resp.finalUrl.indexOf('http://linkbee.com/') == 0) {
+ if (resp.finalUrl.indexOf('?') > -1 ) {
+ // banner frameset, url is indictated as window title
+ pat = '< title >Redirecting: (.*?)< \\/title >'; //remove space < after and before >
+ } else {
+ // interstitial: redirect using meta http equiv refresh
+ pat = 'content="\\d+;\\s*?url=(.*?)"';
+ }
+ }

Download

combine with any 'skip redirect' or 'show original url' also known as clean uri script
result of cleaned up test page:
ImageBanana - seebaer.png

No comments:

Post a Comment