Originally posted by chess kid1If you're using Firefox and Greasemonkey, there's a script to implement a "bookmark" system which you can grab at:
How are we supposed to find a thread in a bunch of 10,000 (or more!!) threads?? Recommend this to support the ultimate idea of all time!!! :o
http://members.shaw.ca/ouroboros/RHP/
Originally posted by ouroborosI'm saying that's the URL given for my bookmark link. It doesn't do a whole
Sorry? Are you commenting on my programming style or did you encounter a bug?
lot. I could be missing something imperative here (as I often do), so I
thought if I post the javascript URL, perhaps you could tell me to get the
correct script somewhere or help me understand it.
(No, I would never comment on someone's programming style unless
we're working on the same project and need to adapt the same style for
clarity.)
Originally posted by stockenIf you have the script installed, there should be a 'Bookmark' link beside the 'Recommend' link on each post. Clicking that link will add the thread to your bookmarks. As well, threads where you post will also be added to your bookmarks.
I'm saying that's the URL given for my bookmark link. It doesn't do a whole
lot. I could be missing something imperative here (as I often do), so I
thought if I post the javascript URL, perhaps you could tell me to get the
correct script somewhere or help me understand it.
(No, I would never comment on someone's programming style unless
we're working on the same project and need to adapt the same style for
clarity.)
In your forum toolbar (the light blue one), you should also see a new section labelled 'My Bookmarks' next to the 'Recommended' link. Clicking on that will display everything that you have bookmarked.
This doesn't solve the problem of searching through threads but it let's you keep an eye on threads that you are interested in.
Originally posted by ouroborosAaaah, I thought it was supposed to add the page to the browser bookmarks
If you have the script installed, there should be a 'Bookmark' link beside the 'Recommend' link on each post. Clicking that link will add the thread to your bookmarks. As well, threads where you post will also be added to your bookmarks.
In your forum toolbar (the light blue one), you should also see a new section labelled 'My Bookmarks' next to the ' ng through threads but it let's you keep an eye on threads that you are interested in.
(which would have been kinda silly considering you can just do that
yourself then - but I'm often silly). So, the javascript link: javascript:void(0)
is altered by the script after the page has loaded? I see how it works
now.
Thanks.
And I know you've probably heard it so many times you can puke, but you're
doing a great job with those greasy scripts of yours. Keep it up. π
Originally posted by stockenActually, no. The click is handled by catching the "click" event with a listener that does all the work. The href doesn't take you anywhere. So to prevent the browser from either re-loading the current page or being sent somewhere else, "javascript:void(0);" basically tells the browser not to do anything.
So, the javascript link: javascript:void(0)
is altered by the script after the page has loaded?
Further, the listener actually clears the currently loaded page, and loads a completely new page in its place. However, you'll note that the URL of the page does not change. Firefox still believes that you are on the page that you were when you clicked the 'My Bookmarks' button. So you might encounter some "weirdness" when clicking some of the regular links afterward.
When you click the "bookmark" link, there really isn't any feedback.
Originally posted by ouroborosYou just made me curious. I think I'll have a closer look at that script. I take
Actually, no. The click is handled by catching the "click" event with a listener that does all the work. The href doesn't take you anywhere. So to prevent the browser from either re-loading the current page or being sent somewhere else, "javascript:void(0);" basically tells the browser not to do anything.
Further, the listener actually clears the cur ...[text shortened]... afterward.
When you click the "bookmark" link, there really isn't any feedback.
it you're using DOM to rebuild the page, and a cookie to store the
bookmarks? π
Originally posted by stockenIf you're interested, jump into the extension development. I consider the GM scripts as dead development now that I'm working on the extension.
Excellent! I can see you're using hidden preferences for a lot of things
(about:config). Javascript just got fun again. π
Oh, firefox. This beautiful, beautiful beast.
Firefox is definitely very, very cool!