Archive Pages Design$type=blogging

Tampermonkey script to edit links in source

Tampermonkey script to edit links in source // ==UserScript== // @name Google Add // @namespace // @description // @...

Tampermonkey script to edit links in source



// ==UserScript==
// @name          Google Add
// @namespace     
// @description   
// @include       *
// ==/UserScript==

var srcs = document.links;
var links = document.getElementsByTagName("link");
var scripts = document.getElementsByTagName("script");
var imgs = document.getElementsByTagName("img");
var iframes = document.getElementsByTagName("iframe");


for (i = 0; i < links.length; i++ ) {
    links[i].href = links[i].href+'?google';        
}

for (i = 0; i < scripts.length; i++ ) {
    scripts[i].src = scripts[i].src+'?google'; 
}

for (i = 0; i < imgs.length; i++ ) {
    imgs[i].src = imgs[i].src+'?google'; 
}

for (i=0; i<srcs.length; i++)
{
    srcs[i].href = srcs[i].href+'?google';
}

for (i=0; i<iframes.length; i++){

    iframes[i].src = iframes[i].src+'?google'; 
}

COMMENTS

Name

adobe ai Amikom android anime app audiojungle automation background blizzard blogger business card cdr code coding Creative css demon slayer desain logo design entertainment envato eternals exariva.com font free freebie freebie & free file game gaming gaya hidup giveaway graphic design hardware hearthstone html idea illustrator imacros inspiration internet japan javascript komputer kreativemagz Logo logo vector marvel mcu mockup money movie nvidia pc pdf pelajaran hidup Photography problem solving programming scss self improvement software steam stock photo tampermonkey Template theme tips trailer trick tutorial typeface typography userscript vector video virtual link king wallpaper windows youtube
false
ltr
item
kreativeMAGZ: Tampermonkey script to edit links in source
Tampermonkey script to edit links in source
kreativeMAGZ
https://www.kreativemagz.com/2019/03/tampermonkey-script-to-edit-links-in.html
https://www.kreativemagz.com/
http://www.kreativemagz.com/
http://www.kreativemagz.com/2019/03/tampermonkey-script-to-edit-links-in.html
true
2977666615667296227
UTF-8
Not found any posts VIEW ALL Read more Reply Cancel reply Delete By Home PAGES POSTS View All YOU WILL ALSO LIKE: LABEL ARCHIVE SEARCH Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago