Wedge
Tuesday March 10th, 2009 10:57 AM
JavaScript
Tags: hack, JavaScript, W3C, XHTML
A lot of people – fear of viruses, browser bugs, adverts … – simply turn off the JavaScript function of web browsers. This is a very great problem for today’s dynamic web pages or web applications, because in this case they could become completely ineffective. The user doesn’t think of he/she turned off JavaScript, but rather blame the producer of the page. This method gives a solution for this. Redirect the user to a static page where we can explain why it is wrong to turn off the JavaScript 
What we want to achieve
- We want to ensure, when JavaScript is turned off, redirect the browser to a static page or to an error page.
- We would like to keep the XHTML compatibility
- Work in all popular browser (Mozilla Firefox, Internet Explorer, 6-7-8, Opera, Safari, Google Chrome)
I’ve never seen a solution posted anywhere like this, it’s my own idea. It’s a dirty hack, but it works 
Read the rest of this entry »