Go Back   Dynamic Drive Forums > General Coding > Looking for such a script or service
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 02-15-2007, 09:18 PM
simplistic simplistic is offline
New Comer (less than 5 posts)
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disabling javascript automatically on my site

I need to be able to automatically turn off javascript on certain parts of my site so that when I'm using a frame to look at another site the javascript is disabled. Is there a way to do this like they do with web proxies on proxy.org? thanks
Reply With Quote
  #2  
Old 02-15-2007, 11:31 PM
boxxertrumps's Avatar
boxxertrumps boxxertrumps is offline
Senior Coders
 
Join Date: Jun 2006
Location: Acton Ontario Canada.
Posts: 681
Thanks: 0
Thanked 1 Time in 1 Post
Default

you cant control the content of other sites. if you could, the web would be in anarchy. and using javascript to disable javascript is retar... redundant. the sites can use javascript to break out of frames.

sorry, but its impossible.
__________________
- Ryan "Boxxertrumps" Trumpa
Come back once it validates: HTML, CSS, JS.
Reply With Quote
  #3  
Old 02-15-2007, 11:39 PM
simplistic simplistic is offline
New Comer (less than 5 posts)
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well then how do web proxies do it
Reply With Quote
  #4  
Old 02-16-2007, 01:35 AM
trippin trippin is offline
Junior Coders
 
Join Date: Jan 2007
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Web Proxies are able to disable javascript because they are coded by PHP which downloads the webpage and can edit the html anyway they feel possible before displaying to the browser. I would guess they make the proxy add "<noscript> tags around the entire contents of the webpage.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:00 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.