I would like to allow one website to use the window.resizeTo(); function but disallow all the other websites from doing that… I wonder if there is any way to do that even if its difficult.
even if its not in the firefox original settings maybe there is an addon that will allow for it??
You can create a file called
user.jsin your profile directory. Most Firefox preferences are kept in a file calledprefs.js– but the browser can write to this file, and often overwrite any changes.If user.js can accept
if-elselogic and access the current URL, you could very easily establish logic to turn preferences on and off depending upon the URL.I found this information here.
Update
As far as I can see,
user.jsis only read when the browser loads – so the method described above won’t work 🙁 The best way to achieve required functionality would be to use/write/invent a Firefox addon.