Click to See Complete Forum and Search --> : disabling javascript with javascript?


jasongh
09-02-2003, 04:38 PM
is it possible to disable javascript by using javascript? for instance, i want to run my own javascript on my pages but want to disable javascript added to the end of the page by my service provider... how can i disable, skip over, or simply stop loading a page when it gets to a certain point? is this all possible? tia!

Khalid Ali
09-02-2003, 05:17 PM
sounds like unethical to me.
After all you are using their services aren't you?

jasongh
09-03-2003, 11:51 AM
unethical is when you make customers agree to some "terms" then follow those terms with such words as "term agreements subject to change without notice". it started with a simple pop-up... fine... now ads are on just about every page, along with the popups!

back to my question... what's the solution?

Xin
09-03-2003, 01:40 PM
if the popups are done via window.open, you can try

window.realOpen=window.open;
window.open=new function() { }

and use window.realOpen() for your own popups.