Posted 9 years ago
·
Author
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:
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.
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:
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.