Click to See Complete Forum and Search --> : Disable javascript: protocol


britt
04-04-2008, 08:15 AM
Is it possible to disable a user from entering "javascript:" in the navigation toolbar on the browser or in a user submitted tag and still have javascript enabled on the page for dynamic site generation?

Any help would be greatly appreciated.

Thank you,
Bill

Amahdy
04-04-2008, 09:30 AM
one way is to parse the location address ...

Hack
04-04-2008, 01:47 PM
Welcome to DevX :WAVE:

Why do you need to disable this?

Amahdy
04-04-2008, 02:12 PM
HACK: generally it's security reason to avoid code injection ... by malicious website user ...
OP: there are another better -shareware- solutions *** .. but in my first post what i told you about it should work good too .

Hack
04-04-2008, 02:14 PM
Yeah, I know, but its the "generally" part that always causes me to ask.