..tasker...

Favelet Suite

my suite

snoopy-mine

To get all a elements in the document with a "info-links" class:

getElementsByClassName(document, "a", "info-links");

To get all div elements within the element named "container", with a "col" class:

getElementsByClassName(document.getElementById("container"), "div", "col");

To get all elements within in the document with a "title" class:

"function gett{ var ttl=(getElementsByClassName(document, "*", "title")();}"
title
/*javascript:(function(){ _my_script=document.createElement('SCRIPT'); _my_script.type='text/javascript'; _my_script.src='http://mysite.com/script.js?'; document.getElementsByTagName('head')[0].appendChild(_my_script);})();*/

hacklet TPL

javascript:(function(){ _my_script=document.createElement('SCRIPT'); _my_script.type='text/javascript'; _my_script.src='http://mysite.com/script.js?'; document.getElementsByTagName('head')[0].appendChild(_my_script);})();

Test pages

tvpc channel
USER SCRIPT-FRAMES

hide

show



Index of /content/code★code


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------DEV-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------