Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins > Plugins Development


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2009, 11:36 AM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 607
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
__________________
~ Projects ~
Specialized: Carapass Auction Watcher
Libraries: bliplib
Tools: manifest syntax highlighting & snippits

Last edited by Waha; 07-23-2009 at 10:28 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-19-2009, 11:44 AM
Luc VN's Avatar
Senior Member
 
Join Date: Sep 2008
Location: Belgium - Europe
Posts: 674
Default

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

Impressive as always Waha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-19-2009, 12:07 PM
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
__________________

ChromeGestures
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-19-2009, 10:18 PM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 607
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
Libraries: bliplib
Tools: manifest syntax highlighting & snippits
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-20-2009, 04:17 AM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 607
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. ><
__________________
~ Projects ~
Specialized: Carapass Auction Watcher
Libraries: bliplib
Tools: manifest syntax highlighting & snippits

Last edited by Waha; 06-20-2009 at 04:20 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 06-21-2009, 10:16 PM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 607
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
Libraries: bliplib
Tools: manifest syntax highlighting & snippits
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 06-21-2009, 10:39 PM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 06-21-2009, 10:45 PM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 607
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
Libraries: bliplib
Tools: manifest syntax highlighting & snippits
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 06-21-2009, 11:09 PM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

Waha, you rock.
__________________

ChromeGestures
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 06-28-2009, 11:04 PM
pcki11's Avatar
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? =)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do you prefer your browser? calande General Chat 15 06-22-2009 10:08 AM
View Saved Form Data??? pjfla Chrome Tips & Tricks 5 06-09-2009 06:56 PM
Is it possible to view larger history images imgdr5109 Chrome Troubleshooting 0 01-25-2009 03:37 AM
Chrome bug - all tabs blank in all instances - Also, how to reload sites I was view.. techphets Bugs and Vulnerabilities 1 12-06-2008 05:25 PM
Not Able to get Excel view of the pages shreejeshmv Chrome Plugins 0 09-24-2008 11:23 AM




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 12:03 PM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John