[RESOLVED]Javascript </script> detection on dynamic pages

I’m wondering the best way to tag dynamic pages by detecting any reference to the </script> tag by adding: 
</script><noscript>your browser disallows script</noscript> .

Would a javascript onLoad event or some sort of C# method ?

Hi XQuest,

Based on my understanding, it seems you want to detect if  javasscript  enabled in aspx page.

I suggest that you can try the link below which may give your a right direction:

http://www.codeproject.com/Articles/23831/Detect-if-JavaScript-is-enabled-in-ASPX

http://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled

Best Regards,

Kevin Shen.

Leave a Reply