Open Bug 174697 Opened 23 years ago Updated 10 years ago

Everything Can be a Link with Mozilla's window.getSelection() Method and the W3C DOM Range API

Categories

(SeaMonkey :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: burton, Unassigned)

References

()

Details

Permalink to this entry: http://www.peerfear.org/rss/permalink/1034742250.shtml > If you often find yourself browsing large, text-heavy web pages and needing > to link to specific portions of the text (whether for personal reference, to > be able to point a friend or colleague to a quote or a piece of information, > or for any other reason), you've probably seen the value first-hand in > accommodating users with named anchors (e.g. <a name="anamedanchor">a named > anchor "anamedanchor"</a>, linkable using <a href="#anamedanchor">to the named > anchor named "anamedanchor"</a>) sprinkled liberally throughout your HTML > source. It should be easy to support this as a native Mozilla feature. I might do this work myself shortly. I am registering this here as a tracking bug. Would it make sense to copy all linking blogs?
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
That sounds like a built-in In-Page Bookmark function. Which would be really useful for those long webpages without anchors. Set In-Page Bookmark: javascript:void(InPageBookmark=pageYOffset) Go To In-Page Bookmark: javascript:if (typeof InPageBookmark=='undefined'){alert('No in-page bookmark. Use Set In-Page Bookmark tool. (bookmarklets.com)')}else{scrollBy(0,InPageBookmark-pageYOffset)}
Sorry, I misunderstood. Basically you want an auto text search if the anchor isn't found. That's quite brilliant imho. No need to store an extra attribute in the bookmarks file (though #@y,x added to the URL could work too).
Product: Browser → Seamonkey
Assignee: asa → nobody
QA Contact: asa
You need to log in before you can comment on or make changes to this bug.