| |||||||
| Top Tip : Click here to Boost Your PC & Chrome Browsing Speed |
![]() |
| | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
| 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.. |
|
#2
| ||||
| ||||
| Wow, I kept clicking "Traverse" and the tree kept growing... Impressive as always Waha |
|
#3
| |||
| |||
| Thanks Waha ! This can be very useful to find not yet documented API features |
|
#4
| ||||
| ||||
| Forgot to mention, for those who don't know, the self object contains the entire scope of the current script. Quote:
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. :] That's the goal. ^^ Hope you find something cool.
__________________ ~ Projects ~ Specialized: Carapass Auction Watcher Libraries: bliplib Tools: manifest syntax highlighting & snippits |
|
#5
| ||||
| ||||
| 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.. |
|
#6
| ||||
| ||||
| 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 |
|
#7
| |||
| |||
| I think we need to give you your own sub-forum. You do excellent work. |
|
#8
| ||||
| ||||
| lmao.. xD Thank you.
__________________ ~ Projects ~ Specialized: Carapass Auction Watcher Libraries: bliplib Tools: manifest syntax highlighting & snippits |
|
#9
| |||
| |||
| Waha, you rock. |
|
#10
| ||||
| ||||
| wow why didnt i notice this before? this extension is extremely useful, thanks a LOT! ps. is it possible to remove the empty toolstrip? =) |
![]() |
| 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 |