Skip to content

Instantly share code, notes, and snippets.

@edfuh
edfuh / amazon links without referral
Created April 22, 2015 18:54
don't give bloggers money
$('iframe:not(:visible)').remove();
urls = ['https://edfuh.com', 'https://google.com']; i = 0;
[].slice.call(frames).forEach(function(f){ console.log(f.location.assign(urls[i++])) })