DonationCoder.com Forum

Main Area and Open Discussion => Living Room => Topic started by: blackcat on November 22, 2007, 11:41 AM

Title: Firefox bookmarklet for changing tab title: where to find?
Post by: blackcat on November 22, 2007, 11:41 AM
i've been searching for a bookmarklet that allows me to change the title of active tab in firefox but i still haven't found it till now..actualy, i can just use addon to rename tabs but i dont want to since i've already have a lots of addons installed..if you know where i can get this bookmarklet please let me know..i also really appreciate if anyone here with good skill at javascripting could write such bookmarklet for me..thanks in advanced.
Title: [DONE] Firefox bookmarklet for changing tab title
Post by: scancode on May 31, 2008, 11:04 PM
If anyone's still interested, it's a trivial line of JavaScript.
javascript:document.title=prompt("Rename Tab", document.title);void 0;
Title: Re: Firefox bookmarklet for changing tab title: where to find?
Post by: lanux128 on June 04, 2008, 08:52 PM
nice work, scancode. previously i was using an add-on (http://www.gnuman.ru/pte/) for this. :up:
Title: Re: Firefox bookmarklet for changing tab title: where to find?
Post by: Jammo the OrganizedFellow on June 05, 2008, 10:14 AM
For even quicker access;

assign a keyword to the bookmarklet, for example: keyword = Q.
in Firefox, hit Alt+D (to place the insertion point in the address bar)
hit 'Q' + Enter, and away you go!
Title: Re: Firefox bookmarklet for changing tab title: where to find?
Post by: BigJim on June 05, 2008, 11:09 AM
What am I doing wrong? When I do as you suggest Firefox opens a new, blank tab and runs the Rename script, i.e. it doesn't rename the current tab as when I run the Bookmarklet "manually".  :tellme:
Title: Re: Firefox bookmarklet for changing tab title: where to find?
Post by: lanux128 on June 05, 2008, 08:33 PM
does your "Rename Tab" bookmarks entry look like this?

[ You are not allowed to view attachments ]
Title: Re: Firefox bookmarklet for changing tab title: where to find?
Post by: BigJim on June 06, 2008, 01:04 AM
Pretty much ...
                                 [ You are not allowed to view attachments ]