Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-30-2002, 01:52 PM   #1
421Fill
Super Mario
 
421Fill's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Swenson's Avatar
Posts: 20,566
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
__________________
Put baked beans on your hotdog. Thank me later.
421Fill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-30-2002, 02:16 PM   #2
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
[script]
function stoperror(){
return true
}
window.onerror=stoperror
[/script]

That will stop a error that all I can do for you
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-30-2002, 02:22 PM   #3
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
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
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-30-2002, 02:25 PM   #4
dodo
Confirmed User
 
Join Date: Jan 2002
Posts: 162
Try...

<script>
// use the '//' to comment out a line or

/*

to comment out a block

*/


</script>

__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here
We host the scripts for you so you trade on our bandwidth.
dodo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-30-2002, 02:45 PM   #5
dodo
Confirmed User
 
Join Date: Jan 2002
Posts: 162
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


[script]
PHP Code:
// to comment out a line

/*
your code that will be ignored
more code
*/ 
[/script]
__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here
We host the scripts for you so you trade on our bandwidth.

Last edited by dodo; 05-30-2002 at 02:59 PM..
dodo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-30-2002, 02:46 PM   #6
421Fill
Super Mario
 
421Fill's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Swenson's Avatar
Posts: 20,566
Quote:
Originally posted by dodo
Try...

<script>
// use the '//' to comment out a line or

/*

to comment out a block

*/


</script>


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.
__________________
Put baked beans on your hotdog. Thank me later.
421Fill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-30-2002, 02:48 PM   #7
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
Originally posted by dodo
Try...

<script>
// use the '//' to comment out a line or

/*

to comment out a block

*/


</script>

You need to edit your post and put in the no error script
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.