473,386 Members | 1,804 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,386 software developers and data experts.

IE6 SP2 annoying

how do i automatically trigger functions like displaydate() in SP2 without
getting that annoying security error.

i use things like these almost every time on sites (see www.sicl.co.uk for
my latest :) and its doing my head in.

mark
Jul 23 '05 #1
6 2051


mark | r wrote:
how do i automatically trigger functions like displaydate() in SP2 without
getting that annoying security error.


What does displaydate do (or try to do)?

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
In article <41***********************@news.dial.pipex.com>,
ma******@gmail.com enlightened us with...
how do i automatically trigger functions like displaydate() in SP2 without
getting that annoying security error.


I couldn't find that function in standard JScript or in
ECMAScript/javascript.

Is it a function you've written?

And *which* SP2? I assume Windows is the OS, but the actual OS? If so...
XP, 2K, 98...?
Or did you mean a version of MSIE? IE6, IE5? Be more clear.

FWIW, I have Win2K Pro with IE6 with all SPs up to date here at work, and
when loading
http://www.sicl.co.uk
I get no error.

--
--
~kaeli~
Well, aren't we just a flipping ray of sunshine?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3
kaeli wrote:
In article <41***********************@news.dial.pipex.com>,
ma******@gmail.com enlightened us with...
how do i automatically trigger functions like displaydate() in SP2 without
getting that annoying security error.
And *which* SP2? I assume Windows is the OS, but the actual OS? If so...
XP, 2K, 98...?
Or did you mean a version of MSIE? IE6, IE5? Be more clear.


I'm assuming the OP means Windows XP Service Pack 2, which contains a number of
security enhancements to Internet Explorer not (yet/ever?) available in any
other version of Windows.
FWIW, I have Win2K Pro with IE6 with all SPs up to date here at work, and
when loading
http://www.sicl.co.uk
I get no error.


I loaded it in Internet Explorer 6 in Windows XP Service Pack 2 and got no
errors or warnings about potential security problems, which seems to indicate
the problem is related to a specific configuration of the security settings in
Internet Explorer (or Windows XP). I _did_ disable the Security Centre, it's
possible his anti-virus or firewall (both monitored by the Security Centre) are
noticing something odd and reporting on it. Whatever the case, it would have to
be something pretty darn odd for the Security Centre in Windows XP Service Pack
2 to be complaining about it.

To the OP: <url: http://www.microsoft.com/windowsxp/s...eoverview.mspx /> and
<url:
http://www.microsoft.com/technet/pro.../sp2brows.mspx />
might be valuable to you. They list the changes in Internet Explorer which could
(potentially) affect your site(s).

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #4
document.writes the date onto the page.

a leaner example is when you try to hide email addresses see
www.silver-jewellery-2u.co.uk (holding site)

it complains because it calls a function.

mark

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:41***********************@newsread4.arcor-online.net...


mark | r wrote:
how do i automatically trigger functions like displaydate() in SP2
without getting that annoying security error.


What does displaydate do (or try to do)?

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 23 '05 #5
I tested that page in IE 6.0.2800.1106.xpsp2.030422-1633 and IE
6.0.2900.2180.xpsp_sp2_rtm.040803-2158. I got no error/warning in either
browser.

Is the error you receive an actual JScript error (yellow ! in the bottom
right corner)? Or is it writing something into the document? Or popping
up a separate dialog entirely (unrelated to script errors in IE)? What
does the exact error say? When you View -> Source, is the source you
expect to be there actually there? Some Internet Security software may be
(re)writing JavaScript to incoming pages that is interfering with what
you are trying to do.

Also, I believe this is invalid HTML:

<a href="thanks.asp" onclick="hemail()"><script type="text/javascript">
<!--
hemailadd()
//-->
</script><noscript>Sterling Silver Jewellery</noscript></a>

The <script> tag can appear inside <a>, but <noscript> can not. Besides,
even if it works as written, it makes no sense. If <noscript> is rendered
because scripting is unavailable, then the onclick event won't fire on
the <a> either. All that will happen if someone clicks the link is they
will get to "thanks.asp" without ever having their default E-mail client
open. Even if scripting is available, there is no guarantee someone has a
default E-mail client, or if they do have one, that it is correctly
configured to send E-mail. "mailto:" is a bad choice for a professional
Web site, you are much better off with a feedback form and handle sending
the E-mail server side (this will also solve your problem of "hiding" the
E-mail address). If you insist on using mailto:, the following makes more
sense:

<noscript>
To be notified of the launch of our new web site please keep coming back
here, because I am using mailto: and I'm trying to hide the E-mail
address so I can't give people without client-side scripting ability an
E-mail link. If I had used a form and sent the Web E-mail server-side,
I'd care about you, but as it is, we don't need your business.
</noscript>
<script type="text/javascript">
document.write(
'To be notified of the launch' +
' of our new web site please' +
' send an email to' +
'<strong><a href="mail' +
'to:' +
'info@' +
'silver-jewellery' +
'-2u.co.uk'
'"'>info@' +
'silver-jewellery' +
'-2u.co.uk' +
'</a></strong>'
);
</script>

mark | r wrote:
document.writes the date onto the page.

a leaner example is when you try to hide email addresses see
www.silver-jewellery-2u.co.uk (holding site)

it complains because it calls a function.

mark

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:41***********************@newsread4.arcor-online.net...


mark | r wrote:
how do i automatically trigger functions like displaydate() in SP2
without getting that annoying security error.


What does displaydate do (or try to do)?


--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #6
a useful tip. thanks

mark

"Grant Wagner" <gw*****@agricoreunited.com> wrote in message
news:41***************@agricoreunited.com...
I tested that page in IE 6.0.2800.1106.xpsp2.030422-1633 and IE
6.0.2900.2180.xpsp_sp2_rtm.040803-2158. I got no error/warning in either
browser.

Is the error you receive an actual JScript error (yellow ! in the bottom
right corner)? Or is it writing something into the document? Or popping
up a separate dialog entirely (unrelated to script errors in IE)? What
does the exact error say? When you View -> Source, is the source you
expect to be there actually there? Some Internet Security software may be
(re)writing JavaScript to incoming pages that is interfering with what
you are trying to do.

Also, I believe this is invalid HTML:

<a href="thanks.asp" onclick="hemail()"><script type="text/javascript">
<!--
hemailadd()
//-->
</script><noscript>Sterling Silver Jewellery</noscript></a>

The <script> tag can appear inside <a>, but <noscript> can not. Besides,
even if it works as written, it makes no sense. If <noscript> is rendered
because scripting is unavailable, then the onclick event won't fire on
the <a> either. All that will happen if someone clicks the link is they
will get to "thanks.asp" without ever having their default E-mail client
open. Even if scripting is available, there is no guarantee someone has a
default E-mail client, or if they do have one, that it is correctly
configured to send E-mail. "mailto:" is a bad choice for a professional
Web site, you are much better off with a feedback form and handle sending
the E-mail server side (this will also solve your problem of "hiding" the
E-mail address). If you insist on using mailto:, the following makes more
sense:

<noscript>
To be notified of the launch of our new web site please keep coming back
here, because I am using mailto: and I'm trying to hide the E-mail
address so I can't give people without client-side scripting ability an
E-mail link. If I had used a form and sent the Web E-mail server-side,
I'd care about you, but as it is, we don't need your business.
</noscript>
<script type="text/javascript">
document.write(
'To be notified of the launch' +
' of our new web site please' +
' send an email to' +
'<strong><a href="mail' +
'to:' +
'info@' +
'silver-jewellery' +
'-2u.co.uk'
'"'>info@' +
'silver-jewellery' +
'-2u.co.uk' +
'</a></strong>'
);
</script>

mark | r wrote:
document.writes the date onto the page.

a leaner example is when you try to hide email addresses see
www.silver-jewellery-2u.co.uk (holding site)

it complains because it calls a function.

mark

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:41***********************@newsread4.arcor-online.net...
>
>
> mark | r wrote:
>
>> how do i automatically trigger functions like displaydate() in SP2
>> without getting that annoying security error.
>
> What does displaydate do (or try to do)?


--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #7

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

Similar topics

2
by: Google alias | last post by:
My trial period for Zend studio has just ended, I've requested a personal licence, and got it. After I've entered and rebooted by computer I still get a popup saying "Licence expired!" everytime I...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
20
by: dukeleto | last post by:
I know this is an annoying thing on some sites. I have set some images in an online gallery to have their own java po up window that is set to be the same size as the image. I would like to...
52
by: Michael Hopkins | last post by:
Hi all We all know that C++ is a cleverly conceived multi-paradigm language that sacrifices very little in efficiency for what it delivers in terms of type-safety, encapsulation and generic...
7
by: Carroll, Barry | last post by:
Greetings: Personally, I don't think top-posting is the most annoying newsgroup habit. I think it's making a big fuss about minor inconveniences. One of the nicest things about being human...
3
by: ApexData | last post by:
I have an unbound textbox that I want to restrict to 10 characters. I defined the mask as follows CCCCCCCCCC;;" " The problem is that the behavior of the cursor changed beyond my request....
6
by: per9000 | last post by:
An interesting/annoying problem. I created a small example to provoke an exception I keep getting. Basically I have a C-struct (Container) with a function-pointer in it. I perform repeated calls...
4
by: rhob60 | last post by:
Everytime I log on to Yahoo.com I get this annoying ASP BROWSER WARNING notice, telling me I need special softward (which I already have) to delete files from my hard drive. Is there anyway to turn...
84
by: braver | last post by:
Is there any trick to get rid of having to type the annoying, character-eating "self." prefix everywhere in a class? Sometimes I avoid OO just not to deal with its verbosity. In fact, I try to...
0
by: =?ISO-8859-9?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
this is very annoying. Posting to so many lists is even more annoying. You might not get a single helpful answer just because people are so frustrated by this behavior. Regards, Martin
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.