473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

why aspnet adds these scripts?

dee
Hi,
I have a aspnet1 that has Default.htm for its home page. When I view the
source for this page in IE brower I see scripts that I haven't added?
Here is that code:

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

</script>

***** my html page *****

<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>
What is this for and how can I get rid of it?

Thank.
Dee
Nov 19 '05 #1
4 977


dee wrote:

I have a aspnet1 that has Default.htm for its home page. When I view the
source for this page in IE brower I see scripts that I haven't added?
Here is that code:

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

</script>


That is not ASP.NET adding those scripts, that is some attempt at popup
blocking inserted by some tool of Symantec probably. Check whether on
the client where IE runs and you view the source some proxy or filter runs.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Nov 19 '05 #2
I think this script is added by Symantec Norton. Do you have Norton
Antivirus or Norton Internet Security installed on your PC?

Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"dee" wrote:
Hi,
I have a aspnet1 that has Default.htm for its home page. When I view the
source for this page in IE brower I see scripts that I haven't added?
Here is that code:

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

</script>

***** my html page *****

<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>
What is this for and how can I get rid of it?

Thank.
Dee

Nov 19 '05 #3
dee
Thanks Martin
This is actually happening when i run the page in my local server from
within Visual Studio. Thanks for the hint. I haven't yet been able to
determine what part of Norton is causing this.
Cant get to the link under your signature!
Dee

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:uv**************@TK2MSFTNGP12.phx.gbl...


dee wrote:

I have a aspnet1 that has Default.htm for its home page. When I view the
source for this page in IE brower I see scripts that I haven't added?
Here is that code:

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

</script>


That is not ASP.NET adding those scripts, that is some attempt at popup
blocking inserted by some tool of Symantec probably. Check whether on the
client where IE runs and you view the source some proxy or filter runs.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Nov 19 '05 #4
dee
Yes Phillip thanks.
"Phillip Williams" <Ph**************@webswapp.com> wrote in message
news:02**********************************@microsof t.com...
I think this script is added by Symantec Norton. Do you have Norton
Antivirus or Norton Internet Security installed on your PC?

Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"dee" wrote:
Hi,
I have a aspnet1 that has Default.htm for its home page. When I view the
source for this page in IE brower I see scripts that I haven't added?
Here is that code:

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

</script>

***** my html page *****

<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>
What is this for and how can I get rid of it?

Thank.
Dee

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: nitc3 | last post by:
How to access script tag attributes in asp.net from code behind? Thanks in advance Nitc
3
by: Harry Simpson | last post by:
Windows Server 2003 is supposed to include Framework 1.1 right. I don't have it here but have reports that the web is not running. The users say that the %COMPUTERNAME%\ASPNET user doesn't exist....
3
by: Dick W | last post by:
I have a page that conatins some text boxes that need to be completed before submission. I used requiredFieldValidators which work very well. User being what they are where quite happy, but they...
3
by: Kim | last post by:
After installing MSDE2000 on my WIN XP machine, I created the database from Access using the upsizing wizard. Although the tables can be seen from the server explorer, I keep on encountering...
2
by: Gary Nelson | last post by:
Has anyone been able to do this? I gave it a try with a rather large project and it completely made a mess of the whole project. Any sugestions? Gary
0
by: Paco | last post by:
Hello we are working in a ASPNET (VB) project and we have some problems with sourcesafe when someone makes changes in web.config and any of the dataset files (xsd).If other person get the last...
9
by: Mark Olbert | last post by:
I'm reposting this in case it got lost... The ASPNET Configuration tool does not appear to be able to handle derived MembershipUser classes. Even the simplest possible derived class (one which...
1
by: FrankP | last post by:
I am starting to use the ASP.NET Commerce Starter Kit to initiate a website, and have had an installation error - 'computerName/ASPNET account not found.'. I am using XP Pro with IIS installed and...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.