![]() |
Javascript question....
Is there a way to disable javascript on one's page temporarily... ie. I've got banner exchange code on multiple pages, and the exchanges will be down for a few days... is there a tag I can add to all my pages that will disable it without removing it?
Thanks in advance. :) Turbo |
[script]
function stoperror(){ return true } window.onerror=stoperror [/script] That will stop a error that all I can do for you |
If you take out a bracket or something to fuck up the banner code and slap the no error script on your pages it would be like a javascript disable, someone else probably has a better way:)
|
Try...
<script> // use the '//' to comment out a line or /* to comment out a block */ </script> :thumbsup |
sorry about that... board commented out my code.
do this.... 2 forward slashes or to comment out(make the browser ignore) a line or use a forward slash and star and then a star and forward slash to comment out a block. the code works for javascript too :thumbsup [script] PHP Code:
|
Quote:
You wouldn't happen to be sqee, would you? thanks Kenny trying that one right now... this was actually for my mom, so she'll let me know if it worked. |
Quote:
|
| All times are GMT -7. The time now is 06:55 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123