Forum Moderators: open

Message Too Old, No Replies

How can I overwrite the EncodeURI()?

         

gappel

12:11 pm on Jul 11, 2004 (gmt 0)

10+ Year Member



Hi everyone,

I wonder whether ALL JS methods call the global encodeURI() function before generating the HTTP GET request?

And if so, how can I overwrite the encodeURI() function i.e. how can I hook it?

I don't think I can but what if...

Thanks,
Greg

Bernard Marx

1:52 pm on Jul 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



encodeURI = function(str){return str}

I don't fancy your chances though.