Page is a not externally linkable
Bernard_Marx - 5:41 pm on Jul 24, 2007 (gmt 0)
I have heard tell of the use of proxies in corporate environment that disable scripting by stripping out script from responses from the internet. If such scenarios do indeed occur (that's the question, btw) then the content of NOSCRIPT won't be displayed - since the browser itself is script-enabled. ------------------------- Most cases of conditional display (Tricks #1 and #4, say) can be accomplished by the judicious use of contextual CSS selectors: Then in the script file of your choosing: The hiding/display of elements has been decided before they even are parsed. This way, there's no need to litter the document with little script blocks directly after sections that need to be hidden/displayed if script-enabled. Equally, one can do away with NOSCRIPT blocks too, because the logic can work both ways.
I don't know whether this part is an opinion or a question.
.isScript #myElm{display:none;}
/* ...and all other display specs for elements */document.getElementsByTagName("html")[0].className = "isScript";