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

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

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
Jul 23 '05 #1
3 1061


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/xpin...owser_xpi.html
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
In article <c5**************************@posting.google.com >,
jo******@aol.com enlightened us with...
So...the $6,000,000 question is: How to do it?


Installed any spyware lately? ;)
Check your PC with AdAware or such.
My guess - something you downloaded had additional code in it that ran from
your PC, thus giving it ample permission to modify settings.

--
--
~kaeli~
Going to church doesn't make you a Christian any more than
standing in a garage makes you a car.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3
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.
Jul 23 '05 #4

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

Similar topics

15
by: Peter Bremer | last post by:
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the...
1
by: relaxedrob | last post by:
Howdy All! I am really stuck with this one - I want to completely create a table within JavaScript and insert it into the document, with onMouseOut and onMouseOver handlers in the table rows. ...
9
by: rez | last post by:
I find it rather frustrating that Netscape 4.x is "no longer supported:" http://help.netscape.com/products/client/communicator/reflib.html Same seems true with IE. How am I ever supposed to...
7
by: Scott | last post by:
Hello All, I've been reading all of the various issues with Iframes in netscape. I have tried all of the various fixes posted, and have even implemented both an iframe and ilayer. My problem is...
3
by: Simba | last post by:
Hi, I've written some javascript routines for Internet Explorer and Opera. Could you tell me the Netscape and Mozilla equivalents? Thanks ------------------------- //this works with...
4
by: Sangwoo Im | last post by:
Please take a look at my code. I made a script to scroll the contents of DIV tag. It works in IE, but not NN. I tried to use document.getElementById(id) function. It didn't work at all. I just want...
11
by: Jonny | last post by:
Netscape 7.02 is giving me a headache with a downloaded snow script. Starting with a blank page, I inserted the script and checked it in IE 6 and Netscape 7.02. Everything worked and looked fine. A...
12
by: Jim Tome | last post by:
Hi, I am trying to change and pass the value of a hidden input type on a form tag to a cgi processing script based on the value of a checkbox within the form: function CheckBoxes () { if...
2
by: lawrence | last post by:
I thought I was fighting a PHP problem, so I asked about this on a PHP list, but they felt it was a Javascript problem, so I'm reposting a bit of the debate here. Could this Javascript, below,...
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: 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: 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
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:
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...

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.