Closed Bug 346261 Opened 18 years ago Closed 14 years ago

Allow location URL to be changed (in limited ways) by Javascript code

Categories

(Core :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 500328

People

(Reporter: gary.p.stephens, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5
Build Identifier: 

A problem with Frames-based and DHTML / AJAX sites is that the page contents displayed can change but the location URL remains static, which impacts on the user's ability to bookmark page contents.

For security reasons (e.g. to prevent phishing) it is not possible from Javascript code to change the location URL displayed in the browser (except perhaps to add a "#" value, which is of limited use).

I propose that it should be possible to change the URL in other LIMITED ways, e.g.:

 * To any other URL with the same domain
 * and/or, to change the querystring

This could of course be configurable in the browser's Options, but one or both should be enabled by default, to allow web developers to make use of this feature to improve the user experience for most Firefox users.

Reproducible: Always
Product: Firefox → Core
QA Contact: general → general
https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history#Adding_and_modifying_history_entries
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.