jonny Bookmarklet

javascript:void(function(){
var match = location.pathname.match(/^\/jonnyboy1\/([^?#]+)$/);
if (!match) {
alert("URL doesn't match!");
} else {
location = "/jonnyboy1/video/" + match[1] + "/new-1.html";
}
}());

Source (xhamster.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avoid%28function%28%29%7Bvar%20m%3Dlocation.pathname.match%28/%5E%5C/jonnyboy1%5C/%28%5B%5E%3F%23%5D+%29%24/%29%3Bif%28%21m%29alert%28%22URL%20doesn%27t%20match%21%22%29%3Belse%20location%3D%22/jonnyboy1/video/%22+m%5B1%5D+%22/new-1.html%22%7D%28%29%29%3B%20%20Voices


Rate it:


Tags:

Comments

Comments so far. Add yours.