Posted 11 years ago
·
Author
About
Are you a developer? Do you make IMVU layouts? Are you someone who wants an easy way to generate clickable product icons? Well look no further! I have made a bookmarklet that will let you do just that!
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
HTML Bookmarklet
This bookmarklet will generate HTML code for a clickable product icon that takes you to the product page for using in layouts or other websites
[code=javascript file=Untitled.txt]javascript: (function generateHTMLCode() {
/*Get the product page url*/
var strURL = document.URL;
if(strURL != "" && strURL.indexOf("http://www.imvu.com/shop/product.php?products_id=") != -1) {
/*Get the product icon url*/
var strIMGURL = document.getElementById("product-image").src;
/*Generate the BBCode and alert it to the user for copying*/
window.prompt ("HTML Code:","<a href='" + strURL + "' target='_blank'><img src='" + strIMGURL + "'/></a>");
}
})();
[/code]
BBCode Bookmarklet
This bookmarklet will generate BBCode for a clickable product icon that takes you to the product page for posting on forums like ours and IMVU.
[code=javascript file=Untitled.txt]javascript: (function generateBBCode() {
/*Get the product page url*/
var strURL = document.URL;
if(strURL != "" && strURL.indexOf("http://www.imvu.com/shop/product.php?products_id=") != -1) {
/*Get the product icon url*/
var strIMGURL = document.getElementById("product-image").src;
/*Generate the BBCode and alert it to the user for copying*/
window.prompt ("BBCode:","[url=" + strURL + "][img]" + strIMGURL +"[/img][/url]");
}
})();[/code]
Are you a developer? Do you make IMVU layouts? Are you someone who wants an easy way to generate clickable product icons? Well look no further! I have made a bookmarklet that will let you do just that!
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
HTML Bookmarklet
This bookmarklet will generate HTML code for a clickable product icon that takes you to the product page for using in layouts or other websites
[code=javascript file=Untitled.txt]javascript: (function generateHTMLCode() {
/*Get the product page url*/
var strURL = document.URL;
if(strURL != "" && strURL.indexOf("http://www.imvu.com/shop/product.php?products_id=") != -1) {
/*Get the product icon url*/
var strIMGURL = document.getElementById("product-image").src;
/*Generate the BBCode and alert it to the user for copying*/
window.prompt ("HTML Code:","<a href='" + strURL + "' target='_blank'><img src='" + strIMGURL + "'/></a>");
}
})();
[/code]
BBCode Bookmarklet
This bookmarklet will generate BBCode for a clickable product icon that takes you to the product page for posting on forums like ours and IMVU.
[code=javascript file=Untitled.txt]javascript: (function generateBBCode() {
/*Get the product page url*/
var strURL = document.URL;
if(strURL != "" && strURL.indexOf("http://www.imvu.com/shop/product.php?products_id=") != -1) {
/*Get the product icon url*/
var strIMGURL = document.getElementById("product-image").src;
/*Generate the BBCode and alert it to the user for copying*/
window.prompt ("BBCode:","[url=" + strURL + "][img]" + strIMGURL +"[/img][/url]");
}
})();[/code]