Closed
Bug 281466
Opened 20 years ago
Closed 20 years ago
Start page can not be set with javascript
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kh_naba, Assigned: bugs)
References
Details
Attachments
(1 file)
|
1.55 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9 Following javascript to set start page does not work. <a href="http://mysite.com/#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://mysite.com/eng/');"><b>Make Mysite your start page</b></a> Reproducible: Always Steps to Reproduce: Actual Results: Nothing happens. Expected Results: Should set the start page in preference.
Comment 1•20 years ago
|
||
There's a very good reason for this: its almost universally abused. This is an IE-only "innovation" that will most likely never be implemented in Mozilla core.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
What do you think of the 'javascript:window.external.AddFavorite' command, unique to IE, that is used to open the bookmarks window and request that you bookmark the current page (as in 'Add To IE Bookmarks Script' attachment)?
Comment 4•19 years ago
|
||
That its abused often on less-reputable sites and that we don't want it?
Comment 5•19 years ago
|
||
(In addition to comment #3) There is a keyboard shortcut for this in Mozilla (Ctrl + D). Couldn't people fake the keypress and thus abuse the function?
Comment 6•19 years ago
|
||
No, we differentiate between events from trusted and untrusted content.
Comment 7•19 years ago
|
||
*** Bug 279850 has been marked as a duplicate of this bug. ***
Comment 8•18 years ago
|
||
*** Bug 345706 has been marked as a duplicate of this bug. ***
Comment 10•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in
before you can comment on or make changes to this bug.
Description
•