Nice Titles in GreaseMonkey
Friday, March 11, 2005
In response to a request on the GreaseMonkey Wiki and with the kind permission of Stuart Langridge I've ported Nice Titles to GreaseMonkey (actually this involves almost no work on my part).
They key differences between the original and my version are:
- No need for browser detection or background pngs - we're always in Firefox.
- I've added a 1 second delay on the Nice Title appearing since I prefer it that way.
Get the script here.
20 Comments:
Somehow the link to the script wound up being relative to blogger.com rather than xurble.org (interesting how quietly installing a script by right-clicking a 404ed link fails, though).
Thanks for doing this: when Nice Titles was new, "it, everywhere" was exactly what I wanted, but it took longer to get a tool that would do it easily than the extent of my memory of wanting it (by a factor of ten thousand or so, given my gnat's memory).
Oops. Link is fixed now.
I keep getting stung by that bug in Blogger's compose window.
I keep getting this error after installating the script
Error: missing ; before statement
Source File: http://www.google.com/firefox?client=firefox-a&rls=org.mozilla:en-US:official
Line: 66, Column: 6
Source Code:
This is a port of Stuart Langridge's Nice Titles to Greasemonkey.
That looks like a bug in GreaseMonkey.
It seems to have missed the comment block start /* at the top of the file.
Are you using the latest version?
Any chance of getting a version that uses createElementNS() when in a page that's served as application/xhtml+xml?
Would it be feasable to get Nice Titles to support link attributes on all elements, not just on links?
...er, I meant "title" attributes, of course. Duh.
There was a bug in the last-but-one version of Greasemonkey that caused the bug to which Arvind refers. The one on the homepage now works fine.
Installed into greasemonkey and doesn't appear to work as advertsied. Even tried siabling all other greasemonkey scripts and still no-go any help would be mucho appreciated. I'm using the newest version of greasemonkey (0.3.3) as well as the newest version of firefox (1.0.4)...
Same here (Firefox 1.0.4 and GreaseMonkey 0.3.3). It doesn't do anything at all!
It should work again now. Try re-installing.
It sure would be nice if the namespace url (http://xurble.org/userscripts) contained some sort of index page... even if it just redirects to /
Nice script.
One minor problem, it fails when the text of the link is enclosed in a 'span' tag.
Hey, nice script here. I was wondering though if there was any way either I (or you) could modify the script so that when you hover over a link without a title attribute it would still create the "Nice Title" part, but just listing the link's target URL.
I have another extension which pops up a tool tip listing the target address when you hover over a link, but if the link has a title attribute it gets in the way of your script. I still want the functionality of that extension and your script, but it is annoying having two things popping up over each other simultaneously. If your script could do the same thing as the aforementioned extension, then I wouldn't need the extension anymore.
Any help on this is greatly appreciated :D
it works good! nice application!
Indeed it doesn't work when it is enclosed in a span tag. Any idea what a workaround is for this?
Modified it to work with span tags ONLY
http://www.roktechie.com/nicetitles.user.js
Sorry, wrong url posted above
http://www.nerdhappens.com/nicetitles.user.js
Hi, this script isn't running in Firefox 1.5 with greasemonkey 0.6.4... is it possible that there is conflicts with other extensions, or does this script just need to be updated with it?
Here is a Greasemonkey script that adds support for multiline tooltips/titles in Firefox:
http://userscripts.org/scripts/show/2619
It works in Firefox 1.5+ too.
Post a Comment
Links to this post:
Create a Link