0

我正在尝试使用Bookmarklet启动Firebug Lite

javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F[i+'NS']&&F.documentElement.namespaceURI;E=E?F[i+'NS'](E,'script'):F[i]('script');E[r]('id',b);E[r]('src',I+g+T);E[r](b,u);(F[e]('head')[0]||F[e]('body')[0]).appendChild(E);E=new%20Image;E[r]('src',I+L);})(document,'createElement','setAttribute','getElementsByTagName','FirebugLite','4','firebug-lite.js','releases/lite/latest/skin/xp/sprite.png','https://getfirebug.com/','#startOpened');

如果我在地址栏中运行它,则没有任何反应,如果我在 javascript 控制台(MSIE10 和 Google Chrome)中运行它,请说:

SyntaxError: Unexpected token %

我已经尝试了 Firebug Lite 的所有可用频道,结果相同。
我究竟做错了什么?

4

1 回答 1

0

%20换个空格试试?

于 2013-09-16T21:20:02.870 回答