Challenge: Remotely setting preferences for Netscape, Mozilla or other browsers

J

Jonathan

Hi,
Here's an interesting challenge for anyone who's up to it. :)
When I edit preferences for Netscape or Mozilla, there's an option
that says "block unrequested popup windows." Next to this is a button
that says "Allowed Sites." Presumably, the idea is that if you have a
serious web application that needs to open new browser windows, you
might want to tell your clients to add you to the "Allowed Sites."
Well...when I look at the "Allowed Sites," I'm shocked! It has
all sorts of junk in it...everybody that I WOULDN'T want to put up
popup ads is in there! Moreover, the list is different on different
machines. So presumably, I must have gone to some sites, and they went
through the back door and did something in code that added themselves
to the list!
So...the $6,000,000 question is: How to do it? How do you edit
the user's preferences in code so that when someone visits your site,
you automatically edit that user's preferences? And...can I as a user
block sites from doing this?
-Jonathan
 
M

Martin Honnen

Jonathan wrote:


When I edit preferences for Netscape or Mozilla, there's an option
that says "block unrequested popup windows." Next to this is a button
that says "Allowed Sites." Presumably, the idea is that if you have a
serious web application that needs to open new browser windows, you
might want to tell your clients to add you to the "Allowed Sites."
Well...when I look at the "Allowed Sites," I'm shocked! It has
all sorts of junk in it...everybody that I WOULDN'T want to put up
popup ads is in there! Moreover, the list is different on different
machines. So presumably, I must have gone to some sites, and they went
through the back door and did something in code that added themselves
to the list!
So...the $6,000,000 question is: How to do it? How do you edit
the user's preferences in code so that when someone visits your site,
you automatically edit that user's preferences? And...can I as a user
block sites from doing this?

Well much of Mozilla is scriptable so an install script can change
preferences I think but you as the browser user would need to run the
install script and Mozilla asks you whether to install software or not
if you click an install link. Firefox even increases the hurdle I think
by only allowing installation from *.mozilla.org.
Without you as the browser user agreeing to run an install script I
don't think a site can change your preferences.
You can find more about Mozilla installation scripts here:
http://www.mozilla.org/projects/xpinstall/browser_xpi.html
 
J

Jonathan

Thanks :) I appreciate it. I'm glad to hear that it's not so easy to
do, but I'll definitely seek to learn more about this spyware problem.
 

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

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top