Connecting Tech Pros Worldwide Help | Site Map

Javascript blocked by IE?

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 11th, 2007, 05:25 PM
vinod
Guest
 
Posts: n/a
Default Javascript blocked by IE?

Hi,
The application we have developed uses JavaScript extensively. One of
the users of the application is facing a problem. Instead of being
hidden, the javascript code in the HTML is displayed or should I say,
printed, on the browser. On viewing the rendered source, I'm seeing
that all the "script" tags are rendered as "scrip!", "onLoad" as
"onLoa!" in the HTML. Now I tried disabling Javascript on my browser
but this did not happen with me. As far as I know, the user does not
have any toolbars installed in her browser. Can anyone tell me how to
go about solving this problem?

Vinod

  #2  
Old December 11th, 2007, 05:45 PM
Evertjan.
Guest
 
Posts: n/a
Default Re: Javascript blocked by IE?

vinod wrote on 11 dec 2007 in comp.lang.javascript:
Quote:
The application we have developed uses JavaScript extensively. One of
the users of the application is facing a problem. Instead of being
hidden, the javascript code in the HTML is displayed or should I say,
printed, on the browser. On viewing the rendered source, I'm seeing
that all the "script" tags are rendered as "scrip!", "onLoad" as
"onLoa!" in the HTML. Now I tried disabling Javascript on my browser
but this did not happen with me. As far as I know, the user does not
have any toolbars installed in her browser. Can anyone tell me how to
go about solving this problem?
Try to know more about the tools on her browser,
and possibly the proxi she uses.

Does another browser on her machine the same?

Do all wab pages on her browser the same?

Come on, give us more pertinent info!

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #3  
Old December 11th, 2007, 07:35 PM
Randy Webb
Guest
 
Posts: n/a
Default Re: Javascript blocked by IE?

vinod said the following on 12/11/2007 1:18 PM:
Quote:
Hi,
The application we have developed uses JavaScript extensively. One of
the users of the application is facing a problem. Instead of being
hidden, the javascript code in the HTML is displayed or should I say,
printed, on the browser. On viewing the rendered source, I'm seeing
that all the "script" tags are rendered as "scrip!", "onLoad" as
"onLoa!" in the HTML. Now I tried disabling Javascript on my browser
but this did not happen with me. As far as I know, the user does not
have any toolbars installed in her browser. Can anyone tell me how to
go about solving this problem?
Tell her to disable whatever proxy/firewall/software she is running that
is re-writing it.

As for what you can do as a "developer", is not much beyond telling her
that it is an issue on her computer.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
  #4  
Old December 11th, 2007, 09:05 PM
VK
Guest
 
Posts: n/a
Default Re: Javascript blocked by IE?

On Dec 11, 9:18 pm, vinod <vinod....@gmail.comwrote:
Quote:
Hi,
The application we have developed uses JavaScript extensively. One of
the users of the application is facing a problem. Instead of being
hidden, the javascript code in the HTML is displayed or should I say,
printed, on the browser. On viewing the rendered source, I'm seeing
that all the "script" tags are rendered as "scrip!", "onLoad" as
"onLoa!" in the HTML. Now I tried disabling Javascript on my browser
but this did not happen with me. As far as I know, the user does not
have any toolbars installed in her browser. Can anyone tell me how to
go about solving this problem?
As already pointed out, nothing really you can do client-side. The
problematic user connected to the network/Internet via proxy server
with Squid filter installed (script.so). If it's all the same intranet
then demand to kill Squid for local addresses. If it is a security
demand of your organization them I'm afraid that you vasted your
development efforts for nothing: start over with full server-side
solution.


  #5  
Old December 12th, 2007, 02:45 AM
vinod
Guest
 
Posts: n/a
Default Re: Javascript blocked by IE?

On Dec 11, 3:55 pm, VK <schools_r...@yahoo.comwrote:
Quote:
On Dec 11, 9:18 pm, vinod <vinod....@gmail.comwrote:
>
Quote:
Hi,
The application we have developed uses JavaScript extensively. One of
the users of the application is facing a problem. Instead of being
hidden, the javascript code in the HTML is displayed or should I say,
printed, on the browser. On viewing the rendered source, I'm seeing
that all the "script" tags are rendered as "scrip!", "onLoad" as
"onLoa!" in the HTML. Now I tried disabling Javascript on my browser
but this did not happen with me. As far as I know, the user does not
have any toolbars installed in her browser. Can anyone tell me how to
go about solving this problem?
>
As already pointed out, nothing really you can do client-side. The
problematic user connected to the network/Internet via proxy server
with Squid filter installed (script.so). If it's all the same intranet
then demand to kill Squid for local addresses. If it is a security
demand of your organization them I'm afraid that you vasted your
development efforts for nothing: start over with full server-side
solution.
Ok, here's some more information:
1. User is an end user and belongs to another organisation.
2. The user does not always have this problem but it happens quite
often and on different pages on the website.
3. The user apparently does not have a problem with any other website.
The user visits google and yahoo websites frequently and does not have
this problem with those sites. The user has not mentioned about any
other websites the user visits.

@ VK
1. What is a Squid filter (script.so)? I can try and check with IT
department of the other organization.
2. Is this a proxy server issue or could this be a virus/trojan on
this users machine. Are there any known viruses/trojans that changs
script to scrip! and onLoad to onLoa! or something similar.
  #6  
Old December 12th, 2007, 08:45 PM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default Re: Javascript blocked by IE?

vinod wrote:
Quote:
Ok, here's some more information: 1. User is an end user and belongs to
another organisation.
That would support the "intermittent proxy" theory.
Quote:
2. The user does not always have this problem but it happens quite often
and on different pages on the website.
Further research by you is clearly indicated.
Quote:
3. The user apparently does not have a problem with any other website.
The user visits google and yahoo websites frequently and does not have
this problem with those sites. The user has not mentioned about any other
websites the user visits.
The filter can be customized or adaptive.
Quote:
@ VK
Sorry, I reply.
Quote:
1. What is a Squid filter (script.so)? I can try and check with IT
department of the other organization.
Squid is an HTTP proxy. Proxies can not only cache requested data, they
can also modify the HTTP response received by the client. I would assume
that script.so is the filename of a program (in the widest possible sense)
for the proxy that can modify code related to client-side scripting so that
it is not executed. If that would be the case, this particular script
should be updated or disabled because it should not cause the served markup
to break as described.

Incidentally, proxy servers are one reason why client-side scripts should be
employed in a way that the Web site degrades gracefully. And as I have
pointed out in another thread, the user may not have the choice (not to use
the organization's proxy) and may not need to do anything to their UA for
the client-side script not to function.
Quote:
2. Is this a proxy server issue
Probably it is.
Quote:
or could this be a virus/trojan on this users machine.
Anything is possible, although a computer virus or Trojan *Horse* is
unlikely. Malware such as this does not tend to disable technology that
could be used for its propagation or eavesdropping, given the required
security leaks.
Quote:
Are there any known viruses/trojans that changs script to scrip! and
onLoad to onLoa! or something similar.
I don't know any.

You should check with a network/security newsgroup about that. The impact
of proxies on design decisions regarding Web sites that use client-side
scripting aside, this is quite off-topic here.


PointedEars
  #7  
Old December 14th, 2007, 07:25 PM
VK
Guest
 
Posts: n/a
Default Re: Javascript blocked by IE?

On Dec 12, 6:36 am, vinod <vinod....@gmail.comwrote:
Quote:
1. What is a Squid filter (script.so)? I can try and check with IT
department of the other organization.
Thomas already answered to this question. In the most simple terms it
is GreaseMonkey/magicFunction-like tool but running server-side. They
are doing the same thing: taking 3rd party content and alter it
without content owner notification in different ways before forward it
to the end user.
Quote:
2. Is this a proxy server issue or could this be a virus/trojan on
this users machine.
In the programming it can be anything including but not limited by
trojans, goblins, Sun radiation and an aliens' conspiracy :-) Still
90% of chances are for Squid running on the other organization's proxy
server.

You have to contact the server admin and ask him to add your domain
into trusted list or remove it from untrusted list - that depends on
what kind of list - inclusive or exclusive - is used there. Normally
no one filter breaks all sites on the Web but only some with an
insufficient trust. This is why your user doesn't always get scrip!'ed
pages. They may be running Squid for a short time only (a week or two)
this is why for your own site some pages are served from browser's
cache so OK and some expired, refreshed so served broken. I had a
number of similar situations on the help desk in the past.

 

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.