firefox bookmarklet小细节
来源:岁月联盟
时间:2012-06-26
如果你要在firefox bookmarklet中给元素赋值,记住要把程序包封在这里面:
javascript:(function(){
var mycode = 1;
})();
不然的话他们是不会被执行的。
作者:baoeni