Created
May 9, 2012 12:58
-
-
Save redroot/2644317 to your computer and use it in GitHub Desktop.
Adtech Aliases
This file contains hidden or 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
| // run in webkit console | |
| $("script").filter(function(){ | |
| return ($(this).attr("src") || "").indexOf("alias") !== -1; | |
| }).map(function(){ | |
| return $(this).attr("src").split("alias=")[1].split(";")[0]; | |
| }); | |
| // jquery safe mode | |
| jQuery("script").filter(function(){ | |
| return (jQuery(this).attr("src") || "").indexOf("alias") !== -1; | |
| }).map(function(){ | |
| return jQuery(this).attr("src").split("alias=")[1].split(";")[0]; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment