Welcome guest, is this your first visit? Create Account now to join.
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

This is a discussion on Tree-view Object Browser extension within the Plugins Development section, part of the Chrome Plugins category: Basically what it does, is I plugged in most of the API documentation, to check if it's actually valid. It ...


  1. #1
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default Tree-view Object Browser extension

    Basically what it does, is I plugged in most of the API documentation, to check if it's actually valid. It traverses the self object (and you can make it traverse sub-objects) of a content-script, a background page, a toolstrip and a User Script.
    To view the object structure, go to about:version in your browser.

    This will add an empty toolstrip icon to your toolstrip, so if that bothers you, disable the extension after you're done with it, and only enable it when you need to check it out. :P

    Anyways, this is meant to be a reference for the object structure, what functions there are and stuff.

    Hope this helps us get some awesome new extensions. ^^

    Because we can't extend chrome:// urls anymore, this now matches http://blank.logicplace.com/. No more thumbnail view of the theme images, sorry.
    http://logicplace.com/pc/projects/ch...%20Checker.crx
    http://logicplace.com/pc/projects/chrome/objus.user.js
    Last edited by Waha; 07-23-2009 at 10:28 AM.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  2. #2
    Luc VN's Avatar
    Luc VN is offline Senior Member
    Join Date
    Sep 2008
    Location
    Belgium - Europe
    Posts
    758

    Default

    Wow, I kept clicking "Traverse" and the tree kept growing...

    Impressive as always Waha

  3. #3
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Thanks Waha !
    This can be very useful to find not yet documented API features

  4. #4
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    Forgot to mention, for those who don't know, the self object contains the entire scope of the current script.

    Quote Originally Posted by Luc VN View Post
    Wow, I kept clicking "Traverse" and the tree kept growing...

    Impressive as always Waha
    lol yup, the thing's huge. :]
    When I first made it I tried to make it expand the entire tree automatically, but it kept getting stuck in infinite loops. xD
    And thanks. :]

    Quote Originally Posted by Kyrax View Post
    Thanks Waha !
    This can be very useful to find not yet documented API features
    That's the goal. ^^ Hope you find something cool.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  5. #5
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    Whoops, apparently my "delete elem" didn't remove the object entirely, so it's listed in the tree under self. It's NOT an official object. Just ignore it or add it to the ignore list in objext.js for now, I will fix it for the next update (when I get the user script done, and possibly a viewer for the scope of a regular page).
    Also, if you have multiple windows open, it will show multiple entries of "self" under Toolstrip..only the first one will work. I'll fix that too. ><
    Last edited by Waha; 06-20-2009 at 04:20 AM.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  6. #6
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    I've updated this with a theme elements browser.
    This browser downloads the current (or your version) of the theme elements list from the SVN to parse and view.
    I had to use one hell of a hack to get this to work because:
    1) Only chrome:// pages can use chrome://theme resources.
    2) The content script could not download the file, but the html page I was originally making this on could.

    So it basically goes:
    chrome://about/version tells objext.js what to download -> objext.js tells objbgp.html to open a new tab with the html that can download the page, passing the appropriate download section -> objbgp.html waits for the tab to open and tells objext.js to connect to it -> theme_list.html waits for a connect -> objext.js connects -> theme_list.html downloads the page and sends the text to objext.js -> objext.js tells objbgp.html to close theme_list.html, converts the received string to xml, and parses. x.x
    Sorry, I'm proud of it. <3

    The fixes and additions I mentioned above, I will do in the next version, this one was kind of an unexpected release.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  7. #7
    devilslackey is offline Moderator
    Join Date
    May 2009
    Location
    Orange County
    Posts
    330

    Default

    I think we need to give you your own sub-forum. You do excellent work.

  8. #8
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    Quote Originally Posted by devilslackey View Post
    I think we need to give you your own sub-forum. You do excellent work.
    lmao.. xD Thank you.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  9. #9
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Waha, you rock.

  10. #10
    pcki11's Avatar
    pcki11 is offline Senior Member
    Join Date
    Jun 2009
    Posts
    214

    Default

    wow why didnt i notice this before? this extension is extremely useful, thanks a LOT!

    ps. is it possible to remove the empty toolstrip? =)

Page 1 of 2 12 LastLast

Similar Threads

  1. Why do you prefer your browser?
    By calande in forum General Chat
    Replies: 15
    Last Post: 06-22-2009, 10:08 AM
  2. View Saved Form Data???
    By pjfla in forum Chrome Tips & Tricks
    Replies: 5
    Last Post: 06-09-2009, 06:56 PM
  3. Is it possible to view larger history images
    By imgdr5109 in forum Chrome Troubleshooting
    Replies: 0
    Last Post: 01-25-2009, 04:37 AM
  4. Replies: 1
    Last Post: 12-06-2008, 06:25 PM
  5. Not Able to get Excel view of the pages
    By shreejeshmv in forum Chrome Plugins
    Replies: 0
    Last Post: 09-24-2008, 11:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •