Thursday, July 30, 2009

Enabling JavaScript.....

Well i can across this question when i was attending a conference in the college......"what happens if you disable the javascript in the web browser"...well nothing like rocket science,answer would be u wont be getting the javascript part(or rather code) of the application being executed....as you have disabled the javascript in the run time environment....
well i was thinking what if we possibly can enable the javascript thought javascript...

Reason for this to be done is simple...as we type the url of any site in the address bar there is this complete html and JS code being downloaded there which than is executed by the browser....Now if i could write a code that can enable JS so that my JS code is executed at run time, will make sure that security feature i.e. authentication is enabled at the client side...

This really sounds like crap as the javascript is disabled from the run time environment how can first off all the JS code be executed....Quit funny:)

but what about the reverse part of it.....well disabling javascript is by using JS is not possible...
reason sounds quit simple...the security is compromised....

well its quit funny to get this kind of thoughts some times...

No comments:

Post a Comment