473,808 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE won't run JS....


hi,

this is very annoying.. this is on IE7/Vista.. whenever I load a pg
with JavaScript on it IE refuses to run the JavaScript (I'm talking
about JavaScript written BY ME....;) and the weird thing is, the JS
will run fine if the page is ONLINE (for ex:
http://www.mayacove.com/index.html) but if this html page is on my
computer locally I get the yellow bar on top of the browser saying
browser won't run Active-X control... (I don't have any Active-X on this
page.. just a JavaScript test-alert..)

(I know this is more an IE question than a JS question, but I'm sure I
can find the answer here....;) (Vista group is not very friendly and
you have to deal w/lots of annoying comments...;)

thank you very much..

Aug 13 '08 #1
16 6000
maya wrote:
this is very annoying.. this is on IE7/Vista.. whenever I load a pg
with JavaScript on it IE refuses to run the JavaScript (I'm talking
about JavaScript written BY ME....;) and the weird thing is, the JS
will run fine if the page is ONLINE (for ex:
http://www.mayacove.com/index.html) but if this html page is on my
computer locally I get the yellow bar on top of the browser saying
browser won't run Active-X control... (I don't have any Active-X on this
page.. just a JavaScript test-alert..)

(I know this is more an IE question than a JS question, but I'm sure I
can find the answer here....;) (Vista group is not very friendly and
you have to deal w/lots of annoying comments...;)
IE uses different zones (internet zone, local intranet zone) and if you
go to Tools-Internet Options-Security, then you'll find where the
options are for whether or not script is allowed to run locally. The
risk they're helping you with, is that you downloaded a malicious script
without your knowledge and it's concerned for your safety. You can
either live with the warning (as I do when I run local pages), or change
the default setting to allow local intranet scripts to run.
Aug 13 '08 #2
Stevo wrote:
maya wrote:
>this is very annoying.. this is on IE7/Vista.. whenever I load a pg
with JavaScript on it IE refuses to run the JavaScript (I'm talking
about JavaScript written BY ME....;) and the weird thing is, the JS
will run fine if the page is ONLINE (for ex:
http://www.mayacove.com/index.html) but if this html page is on my
computer locally I get the yellow bar on top of the browser saying
browser won't run Active-X control... (I don't have any Active-X on
this page.. just a JavaScript test-alert..)

(I know this is more an IE question than a JS question, but I'm sure I
can find the answer here....;) (Vista group is not very friendly and
you have to deal w/lots of annoying comments...;)

IE uses different zones (internet zone, local intranet zone) and if you
go to Tools-Internet Options-Security, then you'll find where the
options are for whether or not script is allowed to run locally. The
risk they're helping you with, is that you downloaded a malicious script
without your knowledge and it's concerned for your safety. You can
either live with the warning (as I do when I run local pages), or change
the default setting to allow local intranet scripts to run.

thank you for your prompt response.. I switched to "local intranet" and
set security to LOW (since locally I run only pgs written by me it
should be ok..) but it's still doing the same thing (why does it say it
refuses to run "Active-X"????? all I have is an alert..)

thank you very much..
Aug 13 '08 #3
On Aug 13, 6:16 pm, Stevo wrote:
<snip>
... . You can either live with the warning (as I do
when I run local pages), or change the default setting
to allow local intranet scripts to run.
Another option is to run a local HTTP server and use that for local
development. The setup should not be beyond anyone who is developing
browser scripts (and if it is then they really should learn how) and
the resulting environment is more realistic in terms of what is
possible from public web pages.
Aug 13 '08 #4
On Aug 13, 6:28 pm, maya <maya778...@yah oo.comwrote:
Stevo wrote:
<snip>
>... , or change the default setting to allow local
intranet scripts to run.

thank you for your prompt response.. I switched to
"local intranet" and set security to LOW (since locally
I run only pgs written by me it should be ok..) but it's
still doing the same thing (why does it say it refuses
to run "Active-X"????? all I have is an alert..)
Local Intranet is not the security zone for the local computer, and
the local computer security zone is not in IE's configuration dialog.
If you must you can go into the registry and make the necessary
changes (if you can work out what to change and where to change it)
but Microsoft have not made it that difficult to change for no reason.

If you look at the status bar at the bottom of IE, to the right there
is a symbol and word combination that states the name of the security
zone (Internet, Local Intranet, etc.) the local computer zone is
called 'My Computer' usually (or by default).
Aug 13 '08 #5
Stevo <no@mail.invali dwrote:
You can
either live with the warning (as I do when I run local pages), or change
the default setting to allow local intranet scripts to run.
Or just apply the 'mark of the web' to your files. See
http://msdn.microsoft.com/en-us/libr...28(VS.85).aspx

Aug 13 '08 #6
Duncan Booth wrote:
Stevo <no@mail.invali dwrote:
>You can
either live with the warning (as I do when I run local pages), or change
the default setting to allow local intranet scripts to run.

Or just apply the 'mark of the web' to your files. See
http://msdn.microsoft.com/en-us/libr...28(VS.85).aspx
Thanks, I'd forgotten all about that. I remember using it for this exact
reason on a development I did for IE6 back in 2001 and then completely
forgot about it :-)
Aug 13 '08 #7
On Aug 13, 1:12*pm, maya <maya778...@yah oo.comwrote:
(...) IE refuses to run the JavaScript (...) on my
computer locally
Tools/Internet Options/Advanced tab/Security section/Allow active
content to run in files on My Computer*

* Takes effect after you restart Internet Explorer

Regards, Gérard
--
141 bugs in Internet Explorer 8 beta 1
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/
164 bugs in Internet Explorer 7
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
Aug 15 '08 #8
GTalbot wrote:
On Aug 13, 1:12 pm, maya <maya778...@yah oo.comwrote:
>(...) IE refuses to run the JavaScript (...) on my
computer locally

Tools/Internet Options/Advanced tab/Security section/Allow active
content to run in files on My Computer*
That is a good idea if you want to allow every application to do everything
on your computer, including those you "accidental ly" run from attachments in
your e-mail app.

The default setting is there for a reason; setup a local Web server instead,
as already recommended several times.

BTW, your signature is borken.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8************ *******@news.de mon.co.uk>
Aug 16 '08 #9
Henry wrote:
On Aug 13, 6:28 pm, maya <maya778...@yah oo.comwrote:
>Stevo wrote:
<snip>
>>... , or change the default setting to allow local
intranet scripts to run.
thank you for your prompt response.. I switched to
"local intranet" and set security to LOW (since locally
I run only pgs written by me it should be ok..) but it's
still doing the same thing (why does it say it refuses
to run "Active-X"????? all I have is an alert..)

Local Intranet is not the security zone for the local computer, and
the local computer security zone is not in IE's configuration dialog.
If you must you can go into the registry and make the necessary
changes (if you can work out what to change and where to change it)
but Microsoft have not made it that difficult to change for no reason.

If you look at the status bar at the bottom of IE, to the right there
is a symbol and word combination that states the name of the security
zone (Internet, Local Intranet, etc.) the local computer zone is
called 'My Computer' usually (or by default).
I have to go into the REGISTRY so I don't get that yellow bar at the top
of the browser every time I run a LOCAL html page that contains
JavaScript written BY ME???? oh brother...

for internet I have security at medium high, and for intranet at medium
low, and for all Active-X controls in "custom level" I set to
"enable"... still I get that yellow bar every time, then I have to
click on "allow content", then an alert appears, then I have to click ok
again, this EVERY TIME I run a local page.. I can't believe the only
way to fix this is to go into the registry (and with FF have no similar
problems..)
(btw, this is on IE7/Vista Ultimate..)

ok, either way, thank you for yr response..
Aug 20 '08 #10

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

Similar topics

16
12937
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine otherwise. Most interesting to me is that a reboot won't fix the problem. But if I just try it again sometime later it will work. Anyone have any ideas? I'm running python 2.3 on windows 2000 professional.
4
2249
by: Scott Nichols | last post by:
Hi, I'm trying to debuf an aspnet app. When I invoke the debugger I can place a break point in any file except one. This file always gives by the circle with the question mark in it. Also the assembly doesn't take any of the changes I make in this file. So I now the file is not part of the compiled assembly and that's why I have this problem. But Why is it not part of the assembly?
5
7262
by: Julia Baresch | last post by:
Hi everyone, I haven't found any reference to this problem on this group or in Access 97 help. I hope someone here knows this - probably a simple thing, but not obvious. I designed a query to pull payment data from my database for accounting. It has 3 tables with one-to-many joins: Table1 --> one-to-many --> Table2 --> one-to-many --> Table3 The payment amount field is in Table3. I entered a few negative
3
6177
by: DFS | last post by:
I've been working around this for years (I believe), so I figured someone here might know: Why won't a crosstab query accept a value from a form reference? TRANSFORM Format(First(QtrAvg),'Fixed') AS FirstQtrAvg SELECT PropertyCode, Survey, Question FROM SurveyData WHERE PropertyCode = Forms.MainForm.Subform.Form.PropertyCode GROUP BY PropertyCode, Survey, Question
3
2149
by: Footsie | last post by:
Hay guys, When I create a switchboard, everything works fine until the last step: the main (default) switchboard page won't show up. I've double-checked the macros and the individual pages (under Tools-Database utilities-Switchboard Manager) and everything else is fine. What might the problem be, and how can I fix it?
2
3899
by: Sam Miller | last post by:
Hi, I have a button event that won't fire. I left it on Friday and it worked fine. I came back in on Monday and it won't fire. I tried putting another button and just putting a response.write on its click handler but it won't fire either telling me no button click events will fire. But my calendar control on the same page does fire. In the debugger I put a break point in the calendar event and the button
7
1779
by: simon | last post by:
I have simple html(aspx) page, but vertical height won't work. Even if i had set the height of a table=100%, the table is not 100% height. I spend a lot of time(my real page is more complicated) to figured it out that this won't work because of attribute of a page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> I have visual studio 2005 beta2 and it appends this attribute to every...
3
5058
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from the network share. It loads in VS2005 fine, and I can edit and save code changes etc, but when I try and Build the solution, I get the following error... An error occured loading a configuration file: Failed to start monitoring
2
2606
by: Ryan Liu | last post by:
Hi, I need the MouseDown event be trigged everytime when you press mouse in a datagrid (System.Windows.Forms). But seems mouse event will only fire once, and it seems changed to edit mode for the cell (even the cell is read). The mouse event won't fire again until I click on some other cell and come back and click on the original again.
2
2974
tpgames
by: tpgames | last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according to Corel's website, and Jasc uses whatever is in the XP font folder. But, it won't. All the JP fonts types as English, even with JP selected in the Language Bar. I can't afford to upgrade to any better paint program. I do have a free JP word...
0
9600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10628
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10113
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5547
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.