[英]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.