Stylish Quick Edit
Buttons
This button is designed to save some clicks, when you want to create new Stylish styles. It opens the Stylish editor for writing...
- Left click: ...a new blank style
- Middle click: ...a new style for the current domain root (e.g. "custombuttons2.com", "userstyles.org")
- Right click: ...a new style for the current URL
Behavior
| Action | Behavior |
|---|---|
| Opens the Stylish editor for writing a new blank style. | |
| Opens the Stylish editor for writing a new style for the current domain root (e.g. "custombuttons2.com", "userstyles.org"). | |
| Opens the Stylish editor for writing a new style for the current URL. | |
| Custom Buttons² Context Menu. |
รุ่น
รหัส
/*
This button is designed to save some clicks, at the request of Barbiegirl.
L: New blank style
M: New style for the current domain root (e.g. "custombuttons2.com", "userstyles.org")
R: New style for the current URL
Rawny ^^
*/Init
function GetRoot() { var domains = []; stylishOverlay.getDomainList(content.document.domain, domains); var domain = domains[domains.length-1]; stylishOverlay.STRINGS.getFormattedString("writefordomain", [domain]); return domain; } this.leftclick = function(evt) { stylishOverlay.addCode(''); }; this.midclick = function(evt) { if (content.document.domain) { stylishOverlay.addDomain(GetRoot()); } }; this.rightclick = function(evt) { stylishOverlay.addSite(); }; this.Reload = function() { this.tooltipText = "L: New blank style"+"\n"+"M: New style for "+GetRoot()+"\n"+"R: New style for this URL"; } this.setAttribute('onclick', 'custombuttons.gQuot.mHandler(event, this)'); // Calls the Global MouseClick handler gQuot this.setAttribute('ondblclick', 'custombuttons.gQuot.mHandler(event, this)'); this.setAttribute("onmouseover", "this.Reload();"); // ***** ATTRIBUTES ***** // this.setAttribute('author','rawny'); this.setAttribute('version','1 (2009-05-07)'); this.setAttribute('dependency','FF3.0*, CB2 3.0.*'); this.setAttribute('status','Complete'); this.setAttribute('public',true);this.setAttribute('homepage', 'http://custombuttons2.com/forum/buttons/buttons-database/stylish-quick-edit.html');
คู่มือการใช้งาน
This button opens the Stylish editor for writing... Left click: ...a new blank style. Middle click: ...a new style for the current domain root (e.g. "custombuttons2.com", "userstyles.org"). Right click: ...a new style for the current URL.
รายละเอียด
Rawny
My buttons
Custom Buttons² v.3.0.1rc1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Pict Firefox Plugin v. 1.0
Posted with the theme AD Lemon Twist
Great!
By mistake I installed 2 of it, and that annoys me! How do I remove it?
EDIT: I found out myself. For other noobs who may wonder: "Shift+Right-Click" on it and the context menu will appear.
Custom Buttons² was not found: find out why...
Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
Posted with the theme Pluralism







Thankyou for this extremely helpful button !
The stylish extension button that opens the stylish editor is only for blank styles, and you can only access it when your sidebar is open. This "Stylish Quick Edit" button is SO FABULOUS ! It reduces the number of clicks, and it opens the stylish editor instantly. I use this button many times a day, and must have it.
Thankyou SOOOOOO MUCH rawny for creating this great button !
Custom Buttons² was not found: find out why...
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Posted with the theme Pluralism