Created
January 14, 2015 15:54
-
-
Save rajiteh/18fc70a9c73322d24318 to your computer and use it in GitHub Desktop.
Fix topjobs.lk to open posts in new tabs -- or however you want
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('tr > td:nth-child(3) > h2 > a').each(function() { $(this).attr({ href: $(this).attr('href').match(/\('(.*)',.*/, "")[1], target: '_blank' }); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment