[Greasemonkey] Scripts in sidebar
Jeff Barr
jeff at vertexdev.com
Sun Dec 11 16:05:00 EST 2005
I don't know if the API as proposed by Hans is feasible or not, but I
would definitely
use it if it existed.
+1
Jeff;
Hans Schmucker wrote:
>The Ability to have a page call back by itself is just too
>comfortable... and aside from wasting a bit of processor time I can't
>any major drawbacks, so why not use it?
>
>Anyway, that's not the real problem because it just works. no matter
>if it's a bad architectural decision or not.
>
>About the sidebar: Are there any plans to add support for sidebar
>scripts? I can't really see any problems with that as far as security
>is concerned and I think it would really help people a lot! I can't
>really imagine that I'm the first who wants to reformat a page to a
>sidebar-compatible format.
>
>Alternatively... a sidebar mini API would work as well... something
>along the lines of
>
>if(!GM_GMSideBarOpen && GM_GMSideBarSupported){
> var sideBar=new GM_sideBar("GoogleBookmarks","320");
> sideBar.appendChild(sideBar.document.createElement("head"));
> sideBar.appendChild(sideBar.document.createElement("body"));
> sideBar.document.getElementsByTagName("head")[0].appendChild(sideBar.document.createElement("script"));
>}else{
> var sideBar=GM_GMSideBarGet;
>}
>
>You get the idea... this way you could instruct Greasemonkey to build
>sidebar pages... and the page you visit yould update the information
>during load or attach a script to update the sidebar's content
>automatically... Is this a possibility?
>_______________________________________________
>Greasemonkey mailing list
>Greasemonkey at mozdev.org
>http://mozdev.org/mailman/listinfo/greasemonkey
>
>
--
* RSS Feeds: http://www.syndic8.com
* Blog: http://www.syndic8.com/~jeff/blog/
* Web Services: http://aws.typepad.com
* Resume: http://www.syndic8.com/~jeff/resume.html
More information about the Greasemonkey
mailing list