Pop-up blocker - Java

  • Thread starter Thread starter Don Tupling
  • Start date Start date
D

Don Tupling

I have a web page stored locally on my hard disk that I use as my home page.
In addition to various links it has a java selection applet. Is there a way
to stop the pop-up blocker from objecting to this applet? It makes no
difference if I turn off the pop-up blocker.

This only happens if I access the page locally. If I access it on ISP's
site there is no popup message. The exceptions insit on a web address so I
can't add my local page here.
 
The fact that the issue doesn't occur when the file is located at the ISP
site, sounds like it might be related to 'Local Machine Lockdown' rather
than the popup blocker. I solved a problem with 'Local Machine Lockdown
using the 'Mark of the Web' method which you can find at:

http://msdn.microsoft.com/security/productinfo/XPSP2/securebrowsing/lockdown_devimp.aspx

It doesn't specify where in the HTML file it should go, but I had a file
that actually was saved from the web, and there it was located at the top
just before <HTML>. Just be sure there are
no spaces after the
-->
(end of comment mark)
and <HTML>. Not sure why this has to be, but it won't work if there is a
space there. So (in summary):

<!-- saved from url=(0028)http://www.InternetZone.net/ -->

at the top of your home page file immediately before <HTML> might fix it.
You can
change InternetZone.net to a real web address if
desired, it doesn't matter. The 28 is the number of characters in the web
address following, if you change the address, you'll have to modify the
character count too.
(Before I found this method, I had tried renaming the file to *.hta, but
that lets off the menu and toolbar, which I didn't like at all.)


To totally disable this security feature (which I don't recommend--not all
javascript or other active content is safe):
right click IE|Properties|Advanced| scroll down to 'Security', check 'Allow
active content to run in files on my Computer', click 'OK'.

Please let us know if this works.

More info see these threads:
http://groups.google.com/groups?hl=...osoft.public.windowsxp.general&sa=G&scoring=d

http://groups.google.com/groups?hl=...avascript%20mouseovers&as_scoring=d&lr=&hl=en
 
Thank you, works fine now using the 'Mark of the Web' method you suggested.
I didn't try the 'hta' method.

Thanks again
 
You're welcome. I suspected that it would affect Java applets as well as
javascript, but I was not sure. Thanks for comfirming this and letting us
know it worked.
 
Don -

You posted his back in October, and later posted that you had
successfully used the Mark of the Web method for fixing the problem.

I've been having a devil of a time getting the MOTW to work at all on
any of my files, and it's causing quite a problem for me. Would you
mind letting me know exactly how you implemented the MOTW? Exactly
where in the file did you place it? Did you use the generic version or
a domain-specific version?
I'd really appreciate it if you could help me with this. Thanks.
 
Hi,
You addressed this to Don - perhaps he will eventually reply - but meanwhile
maybe this will help:

As I told Don in this same thread, MOTW is rather picky. To test,
copy/paste the following into notepad


<!-- saved from url=(0028)http://www.InternetZone.net/ -->
<HTML>
<HEAD>
<TITLE>MOTW Test</TITLE>
</HEAD>
<BODY>
<INPUT TYPE=BUTTON VALUE="MS Website"
onclick="top.location.href='http://www.microsoft.com'">
</BODY>
</HTML>


click on the first line, then press the END key. Make **absolutely sure**
that the cursor is just after the '>'
iow, that there are **no** spaces at the end of the line. Save the file as
MOTWtest.htm. Double-click the file to open it in IE. It should appear
without the 'restricted' message. Close IE. Remove the MOTW and resave.
Double-click the file again and now it should trigger the 'restricted'
message. If it works, try adding the MOTW line to your file just before
<HTML>.


Let us know your results.

C-C Mom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top