¡@

Home 

javascript Programming Glossary: scriptnode

Log a web page's dynamically-created, DOM elements with a userscript

http://stackoverflow.com/questions/10083010/log-a-web-pages-dynamically-created-dom-elements-with-a-userscript

addJS_Node text s_URL funcToRun var D document var scriptNode D.createElement 'script' scriptNode.type text javascript if.. var D document var scriptNode D.createElement 'script' scriptNode.type text javascript if text scriptNode.textContent text if.. 'script' scriptNode.type text javascript if text scriptNode.textContent text if s_URL scriptNode.src s_URL if funcToRun..

Changing Javascript on an HTML page out of my control

http://stackoverflow.com/questions/10472569/changing-javascript-on-an-html-page-out-of-my-control

addJS_Node text s_URL funcToRun var D document var scriptNode D.createElement 'script' scriptNode.type text javascript if.. var D document var scriptNode D.createElement 'script' scriptNode.type text javascript if text scriptNode.textContent text if.. 'script' scriptNode.type text javascript if text scriptNode.textContent text if s_URL scriptNode.src s_URL if funcToRun..

How to alter this javascript with Greasemonkey?

http://stackoverflow.com/questions/11200509/how-to-alter-this-javascript-with-greasemonkey

It restores the sandbox. function replaceTargetJavascript scriptNode var scriptSrc scriptNode.textContent scriptSrc scriptSrc.replace.. function replaceTargetJavascript scriptNode var scriptSrc scriptNode.textContent scriptSrc scriptSrc.replace 'auto' s s false 'auto'..

How can two instances of a userscript communicate between frames?

http://stackoverflow.com/questions/11769066/how-can-two-instances-of-a-userscript-communicate-between-frames

function sendMessageFromAnIframe message targetDomain var scriptNode document.createElement 'script' scriptNode.textContent 'top.postMessage.. var scriptNode document.createElement 'script' scriptNode.textContent 'top.postMessage ' message ' ' targetDomain ' '.. message ' ' targetDomain ' ' document.body.appendChild scriptNode function sendMessageToAnIframe cssSelector message targetDomain..

Accessing Variables from Greasemonkey to Page & vice versa

http://stackoverflow.com/questions/13485122/accessing-variables-from-greasemonkey-to-page-vice-versa

text s_URL funcToRun runOnLoad var D document var scriptNode D.createElement 'script' if runOnLoad scriptNode.addEventListener.. var scriptNode D.createElement 'script' if runOnLoad scriptNode.addEventListener load runOnLoad false scriptNode.type text.. runOnLoad scriptNode.addEventListener load runOnLoad false scriptNode.type text javascript if text scriptNode.textContent text if..

Use javascript to inject script references as needed?

http://stackoverflow.com/questions/203113/use-javascript-to-inject-script-references-as-needed

callbacks function loadJSInclude scriptPath callback var scriptNode document.createElement 'SCRIPT' scriptNode.type 'text javascript'.. callback var scriptNode document.createElement 'SCRIPT' scriptNode.type 'text javascript' scriptNode.src scriptPath var headNode.. 'SCRIPT' scriptNode.type 'text javascript' scriptNode.src scriptPath var headNode document.getElementsByTagName 'HEAD'..

loading javascript dependencies on demand

http://stackoverflow.com/questions/310583/loading-javascript-dependencies-on-demand

question function loadJSInclude scriptPath callback var scriptNode document.createElement 'SCRIPT' scriptNode.type 'text javascript'.. callback var scriptNode document.createElement 'SCRIPT' scriptNode.type 'text javascript' scriptNode.src scriptPath var headNode.. 'SCRIPT' scriptNode.type 'text javascript' scriptNode.src scriptPath var headNode document.getElementsByTagName 'HEAD'..

Stop execution of Javascript function (client side) or tweak it

http://stackoverflow.com/questions/3972038/stop-execution-of-javascript-function-client-side-or-tweak-it

addJS_Node text s_URL funcToRun var D document var scriptNode D.createElement 'script' scriptNode.type text javascript if.. var D document var scriptNode D.createElement 'script' scriptNode.type text javascript if text scriptNode.textContent text if.. 'script' scriptNode.type text javascript if text scriptNode.textContent text if s_URL scriptNode.src s_URL if funcToRun..

Why doesn't this userscript work on Facebook?

http://stackoverflow.com/questions/6935428/why-doesnt-this-userscript-work-on-facebook

Seb myCode function addJS_Node text s_URL var scriptNode document.createElement 'script' scriptNode.type text javascript.. text s_URL var scriptNode document.createElement 'script' scriptNode.type text javascript if text scriptNode.textContent text if.. 'script' scriptNode.type text javascript if text scriptNode.textContent text if s_URL scriptNode.src s_URL var targ document.getElementsByTagName..

Where are scripts loaded after an ajax call?

http://stackoverflow.com/questions/8234215/where-are-scripts-loaded-after-an-ajax-call

basically because the plugin.js code runs at the time the scriptNode gets inserted but within the plugin code the node has not yet..

How should I include a js file from another js file?

http://stackoverflow.com/questions/842504/how-should-i-include-a-js-file-from-another-js-file