繁体   English   中英

Firebug Lite,不受限制的令牌%

[英]Firebug Lite, unaxpected token %

我正在尝试使用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的所有可用通道,并且结果相同。
我究竟做错了什么?

尝试将%20替换为空格?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM