Skip to content

Commit

Permalink
Fix Linkbucks
Browse files Browse the repository at this point in the history
  • Loading branch information
devnoname120 committed Jul 9, 2015
1 parent 727edab commit 00d996c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sites/link/linkbucks.js
Expand Up @@ -66,9 +66,10 @@
return null;
}

var m = script.match(/AdPopUrl\s*:\s*'.+\?ref\d*=([\w\d]+)'/);
var token = m[1];
m = script.match(/=\s*(\d+);/);
var m1 = script.match(/AdPopUrl\s*:\s*'.+\?re*f\d*=([\w\d]+)'/);
var m2 = script.match(/Token\s*:\s*'([\w\d]+)'/);
var token = m1[1] || m2[1];
var m = script.match(/=\s*(\d+);/);
var ak = parseInt(m[1], 10);
var re = /\+\s*(\d+);/g;
var tmp = null;
Expand Down

0 comments on commit 00d996c

Please sign in to comment.