Jump to content

Bookmarklet for Character Viewer


Recommended Posts

Work in progress, and maybe I can convince Soly to just add similar functionality to the character viewer, but this will allow you to view all your characters/banks on a single account without having to use the dropdowns.

 

Simply add a bookmark on your browser, and paste this code in:

 

javascript:(function(){
    document.getElementById("cbnk").style.display = "block";
    document.getElementById("slot_0").style.display = "block";
    document.getElementById("slot_0_inv").style.display = "block";
    document.getElementById("slot_0_bnk").style.display = "block";
    document.getElementById("slot_1").style.display = "block";
    document.getElementById("slot_1_inv").style.display = "block";
    document.getElementById("slot_1_bnk").style.display = "block";
    document.getElementById("slot_2").style.display = "block";
    document.getElementById("slot_2_inv").style.display = "block";
    document.getElementById("slot_2_bnk").style.display = "block";
    document.getElementById("slot_3").style.display = "block";
    document.getElementById("slot_3_inv").style.display = "block";
    document.getElementById("slot_3_bnk").style.display = "block"; 
})();

Then load your character with the viewer, and click on the bookmark.

Edited by orgodemir
  • Like 2
Link to comment
Share on other sites

Nice job, thank you.

That will help a lot when searching for an item location.

Link to comment
Share on other sites

That's a lot of items to load onto one page.  1120 potentially if all banks and inventories are full. I guess it'd be faster if you use ctrl+F, but otherwise looks like it could become a big mess quickly.  I look forward to seeing what you come up with though, even if it isn't used.  It's always nice to see people working to make other's lives easier.

Link to comment
Share on other sites

OK wow, didn't know there was even a character viewer on this site. I was trying to get your bookmarklet to somehow work with the bank scanner executable that soly made a while back.

For anyone who's having trouble, use the character viewer page can be found here: https://www.phantasystaronline.net/forum/index.php?/tool-box/character-viewer/#

Thanks for sharing. Had never even heard of "bookmarklets" before. Cool tool. Got it working just fine. Useful for trading! ;D

Link to comment
Share on other sites

15 hours ago, Soly said:

I guess I could add the JS as a "show all" button... but it would definitely not be the default way.

You'd be able to make it nicer than how my code does it as you'd have more control over the page too.

 

I was looking into how easy it would be to put your 4 characters side by side, but it may end up too wide.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...