JNewbry wrote:Oh yeah... I've got a version of CEP SE for dev testing.... Feeling Brave?
Absolutely!
zeniko wrote:KidReefer wrote:Can statusbar icons be relocated to a toolbar?
Probably yes, but you might have to do quite some non-trivial hacking to achieve this. In the general case it's much easier to ask the author responsible for the status bar icon to offer an optional toolbar button as well.KidReefer wrote:Whats the best way(s) to learn to write my own scripts?
That'd be reading through the scripts posted in this thread and trying to figure out what they're doing. If you don't know what a certain function does, try searching for it at the MDC or over at XULPlanet (see the extension development entry in the Knowledge Base for further links). If you think you understand what's going on, try modifying the scripts - and if they still do what you expect, you're about ready to write your own...
Zoolcar9 wrote:<code>id="edit_userChrome_xul"</code>
Code: Select all
menuitem[id="userChrome_xul"] {
list-style-image: url("chrome://local_install/skin/classic/local_install/edit16x16.png") !important;
}
DMCrimson wrote:Zoolcar9 wrote:<code>id="edit_userChrome_xul"</code>
almost...Code: Select all
menuitem[id="userChrome_xul"] {
list-style-image: url("chrome://local_install/skin/classic/local_install/edit16x16.png") !important;
}
worked with
/* This script will add "Edit userChrome.js"
and "Edit userChrome.xul" menuitems in
MR Tech Local Install's Edit Config Button Menu
Version date: 20060528 */
Code: Select all
menuitem.setAttribute("image="chrome://local_install/skin/classic/local_install/edit16x16.png" );
Code: Select all
menuitem[label="Edit userChrome.xul"] {
list-style-image: url("chrome://local_install/skin/edit16x16.png") !important;
}
Code: Select all
tabBmkMan = getBrowser().addTab('chrome://browser/content/bookmarks/bookmarksManager.xul');
getBrowser().selectedTab = tabBmkMan;
tabBmkMan.label = 'Bookmarks Manager';
Code: Select all
document.getElementsByAttribute("key", "manBookmarkKb")[0].setAttribute("oncommand", '(getBrowser().selectedTab = getBrowser().addTab("chrome://browser/content/bookmarks/bookmarksManager.xul")).label = "Bookmarks Manager";');