DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Firefox bookmarklet for changing tab title: where to find?  (Read 9,313 times)

blackcat

  • Participant
  • Joined in 2007
  • *
  • Posts: 62
Firefox bookmarklet for changing tab title: where to find?
« on: November 22, 2007, 05:41 PM »
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.

scancode

  • I will eat Cody someday.
  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
    • Cody Award
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • DJ Badge - DJ
[DONE] Firefox bookmarklet for changing tab title
« Reply #1 on: June 01, 2008, 04:04 AM »
If anyone's still interested, it's a trivial line of JavaScript.
Code
javascript:document.title=prompt("Rename Tab", document.title);void 0;

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Firefox bookmarklet for changing tab title: where to find?
« Reply #2 on: June 05, 2008, 01:52 AM »
nice work, scancode. previously i was using an add-on for this. :up:

Jammo the OrganizedFellow

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
Re: Firefox bookmarklet for changing tab title: where to find?
« Reply #3 on: June 05, 2008, 03:14 PM »
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!
As an aspiring web developer/designer, it is a constant struggle to cope with my ADHD + Hypomania/Bipolar Disorder.

The slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

X_____jamjammo_____

BigJim

  • I have seen the light!
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
Re: Firefox bookmarklet for changing tab title: where to find?
« Reply #4 on: June 05, 2008, 04:09 PM »
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:
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Firefox bookmarklet for changing tab title: where to find?
« Reply #5 on: June 06, 2008, 01:33 AM »
does your "Rename Tab" bookmarks entry look like this?

ws-firefox-renametab-1.png

BigJim

  • I have seen the light!
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
Re: Firefox bookmarklet for changing tab title: where to find?
« Reply #6 on: June 06, 2008, 06:04 AM »
Pretty much ...
                                [attach]
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."

Original address: https://www.donationcoder.com/forum/index.php?topic=10972.0