Closed Bug 390578 Opened 18 years ago Closed 18 years ago

Add support for regular expression-based hashes in urls (would not require an anchor)

Categories

(Firefox :: Address Bar, enhancement)

x86
Windows Server 2003
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 343271

People

(Reporter: swartzrock, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Currently you can specify the named anchor to display in a page with a hash mark in the url, eg "http://mozilla.org/#stuff". However, you're out of luck if the section you want to display does not have a named anchor. It would be great if Firefox 3 could create a new standard where a regular expression can be used to specify a location to display in a url. Firefox would load the page and then scroll to the first instance of the expression in the page. Example: find the first occurence of "J2SE" with a version number: http://www.mozilla.com/en-US/firefox/2.0.0.6/releasenotes/#J2SE[\d]+ I'd put this in a plugin, but it really needs a major browser to make it a standard, and Firefox 3 would be a great place to launch this. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Component: General → Location Bar and Autocomplete
QA Contact: general → location.bar
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.