¡@

Home 

javascript Programming Glossary: window.self

Chrome userscript error: “Unsafe JavaScript attempt to access frame”

http://stackoverflow.com/questions/10666258/chrome-userscript-error-unsafe-javascript-attempt-to-access-frame

@include http www.sockshare.com UserScript if window.top window.self var player document.getElementById 'player' setSize player function.. pink. Alternatively you can test like this if window.top window.self Code to run when page is the main site... else Code to run when..

execute function only once

http://stackoverflow.com/questions/12117902/execute-function-only-once

code like this near the top of your script if window.top window.self Don't run on frames or iframes. return share improve this..

How to call Greasemonkey's GM_ functions from code that must run in the target page scope?

http://stackoverflow.com/questions/14229539/how-to-call-greasemonkeys-gm-functions-from-code-that-must-run-in-the-target-p

run in the top page not the various iframes. if window.top window.self var timeBtn document.createElement 'a' timeBtn.id gmTimeBtn.. run in the top page not the various iframes. if window.top window.self var timeBtn document.createElement 'a' timeBtn.id gmTimeBtn..

How to exclude iframe in Greasemonkey

http://stackoverflow.com/questions/1535404/how-to-exclude-iframe-in-greasemonkey

to avoid running on frames or iframes if window.top window.self don't run on frames or iframes return share improve this answer..

Why is window not identical to window.self in Internet Explorer?

http://stackoverflow.com/questions/2725188/why-is-window-not-identical-to-window-self-in-internet-explorer

is window not identical to window.self in Internet Explorer There's a convoluted backstory involving.. Firefox and friends the results are as I'd expect window window.self true window window.self true The same isn't true in Internet.. results are as I'd expect window window.self true window window.self true The same isn't true in Internet Explorer though window..

How to identify if a webpage is being loaded inside an iframe or directly into the browser window?

http://stackoverflow.com/questions/326069/how-to-identify-if-a-webpage-is-being-loaded-inside-an-iframe-or-directly-into-t

facebook iframe share improve this question if window.self window.top not in a frame else in a frame top and self are both..

Run greasemonkey script only once per page load?

http://stackoverflow.com/questions/4190442/run-greasemonkey-script-only-once-per-page-load

this code just after the metadata block if window.top window.self don't run on frames or iframes Optional GM_log 'In frame' return..

IE Bug (window === top) === false

http://stackoverflow.com/questions/4850978/ie-bug-window-top-false

true Turns out window.window window.top true window.window window.self true So it's an issue with getting window on it's own. for var..

Prevent iframe stealing

http://stackoverflow.com/questions/5522097/prevent-iframe-stealing

else alert framing is not allowed OR if window.top window.self window.top.location.replace window.self.location.href Some modern.. OR if window.top window.self window.top.location.replace window.self.location.href Some modern browsers also support the X FRAME..