Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function(){
- var url = jQuery('div.acomment-content p a, span.activity-inner object p a, a.sharedlink_title').attr("href");
- var data = "http://www.dereferer.org/?";
- jQuery('div.acomment-content p a, span.activity-inner object p a, a.sharedlink_title').each(function() {
- if ( this.host === 'dirtywindows.hu' || this.getAttribute('href').indexOf('/') === 0) {
- this.attr("href", data + url);
- }
- });
- // see the current href
- jQuery('.hrefVal').html(jQuery("div.acomment-content p a, span.activity-inner object p a, a.sharedlink_title").attr("href"));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement