[Yanel-dev] easier way to switch to GWT 2 DevMode: a bookmarket
Guillaume Déflache
guillaume.deflache at wyona.com
Fri Mar 26 17:40:43 CET 2010
Hi!
Here it is (*):
javascript:(function()%7Bvar%20l=location,q=l.search,h=l.protocol+'//'+l.host+l.pathname+q+(q?'&':'?')+'gwt.codesvr='+l.hostname+':9997',n=h.replace(new%20RegExp('[%3A/.?=&-]','g'),'_'),W=open(h,n);/*alert(n);*/W.focus();%7D)()
This works in all browsers AFAICS.
To use it, simply create a new bookmark with the above URL as link and
e.g. "GWT devmode" as name.
Calling this bookmarklet will of course only do something interesting on
a page using GWT.
This is heavily inspired by the previous "Yanel RT 'source' view"
bookmarket and behaves mostly the same, so please refer to its
announcement message for other details:
http://lists.wyona.org/pipermail/yanel-development/2010-March/004490.html
HTH,
Guillaume
More information about the Yanel-development
mailing list