Firefox userChrome.js greasemonkeyスクリプトスレ27
■ このスレッドは過去ログ倉庫に格納されています
0227名無しさん@お腹いっぱい。
2014/07/18(金) 22:31:26.45ID:7c1+pwUz0var browserbottombox = document.getElementById("browser-bottombox");
var TOOLBAR = browserbottombox.appendChild(document.createElement("toolbar"));
TOOLBAR.setAttribute("id", "hoge");
TOOLBAR.setAttribute("toolboxid", "navigator-toolbox");
TOOLBAR.setAttribute("toolbarname", "hoge");
TOOLBAR.setAttribute("class", "toolbar-primary chromeclass-toolbar");
TOOLBAR.setAttribute("customizable", "true");
TOOLBAR.setAttribute("fullscreentoolbar", "true");
TOOLBAR.setAttribute("defaultset", "hoge");
TOOLBAR.setAttribute("context", "toolbar-context-menu");
TOOLBAR.setAttribute("iconsize", "small");
TOOLBAR.setAttribute("mode", "icons");
TOOLBAR.setAttribute("currentset", "hogehoge");
TOOLBAR.setAttribute("collapsed", "false");
TOOLBAR.setAttribute("lockiconsize", "true");
browserbottombox.insertBefore(document.getElementById("developer-toolbar"), TOOLBAR);
って書いたら一応できるんだけどtoolbar-context-menuで非表示にしても再起動でまた復活してしまう。
わかる人いますか?
■ このスレッドは過去ログ倉庫に格納されています