[Bookmarklet] IMVU - Get Room ID 15 posts

OP Sun Sep 27, 2015 11:04 pm
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
About
This is a bookmarket that will give you the id of a public room. It makes getting the room id for my Public Room Monitor (More about that HERE) much more convenient.


How To Install - FireFox

1) Right click on the bookmark toolbar and select "New Bookmark". If you don't have the bookmark toolbar visible press alt to bring up the menubar.
Then click view, hover over Toolbars and click "Bookmark Toolbar"
2) Give the bookmarklet a name by typing something into the "Name" field.
3) Copy and paste the code below into the "Location" field.
4) Click add


How To Install - Chrome

1) Right click on the bookmark toolbar and select "Add Page". If you don't have the bookmark toolbar visible open the settings menu and scroll down to appearance. Then checkmark the box that says "Always show the bookmarks bar".
2) Give the bookmarklet a name by typing something into the "Name" field.
3) Copy and paste the code below into the "URL" field.
4) Click Save

Code:
Code
javascript: (function getRoomID() {
   /**
    * DM's Get Room ID Script
    * v1.0
    * Grabs the room id from the room page
    */
   
   /*Get the product page url*/
   var strURL = document.URL;
   
   /*Get the room link href value*/
   var roomLink = document.getElementById("rm_name_href").getAttribute("href");

   if(strURL != "" && strURL.indexOf("http://www.imvu.com/rooms/") != -1) {
      /*Get the room id*/
      var roomID = roomLink.split("=")[1];

      /*Generate the BBCode and alert it to the user for copying*/
      window.prompt ("Room ID:",roomID);
   }
})();



To use it, simply navigate to the room page for example: http://www.imvu.com/rooms/ROOM_NAME after installing the bookmarklet and run it. A pop up box should display with the room id in it ready for you to copy.
Mon Sep 28, 2015 12:38 am
User avatar
  • Posts: 949
  • Joined: Jul, 2014
  • Karma: 33
It works so fine, thank you D.M! :coin:
Fri Apr 19, 2019 11:42 pm
User avatar
  • Posts: 26
  • Joined: Nov, 2018
  • Karma: 0
Does this bookmark still work?
Sat Apr 20, 2019 2:37 am
User avatar
Mafia Don
Legendary Family Member
  • Gender: Male
  • Posts: 12814
  • Joined: Nov, 2007
  • Advertisements: 406
  • Karma: 204
@MisFitz


It should. Which browser are you using?
OP Sat Apr 20, 2019 3:33 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
@MisFitz
Yeah, it should as long as IMVU hasn't changed the url. If it's not working for you or you have any questions/comments feel free to send me a PM and I'll try to help you.
Sat Apr 20, 2019 5:15 pm
User avatar
Playeret
  • Gender: Male
  • Posts: 48
  • Joined: Oct, 2016
  • Karma: 0
I use Opera but this is helpful, thank you.
Sun Apr 21, 2019 4:45 pm
User avatar
  • Gender: Male
  • Posts: 44
  • Joined: Apr, 2019
  • Karma: 0
I'm using the IMVU next version in browser to get the room ID or even any product ID. It's easy and allow direct linking to IMVU mobile app.
OP Mon Apr 22, 2019 2:56 pm
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
@HardyGG
Of course it's easy to get this information from the browser. It's right in the URL. This bookmarklet was created for people who need to get a handful or more room ids and don't want to manually copy/paste each one from the url into wherever they need it.

As is the case with most of my bookmarklets and most of my program, this was designed to reduce the time and effort required when getting a lot of data from IMVU.
Mon Apr 22, 2019 3:06 pm
User avatar
  • Gender: Male
  • Posts: 44
  • Joined: Apr, 2019
  • Karma: 0
@DataMine yeah mine takes a bit of time. I'm gonna try your way to see how that works.
Mon Apr 29, 2019 7:26 am
User avatar
  • Gender: Male
  • Posts: 1
  • Joined: Oct, 2018
  • Karma: 0
Thanks folk helped alot

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT