From 53fab785a8e6e662d83fdb254adcac26ef4d9557 Mon Sep 17 00:00:00 2001 From: Madis Date: Mon, 28 Jan 2019 12:26:42 +0200 Subject: [PATCH 1/2] Userstyle template #58 --- template.css | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/template.css b/template.css index 868d5d2..359863a 100644 --- a/template.css +++ b/template.css @@ -1,11 +1,17 @@ -/* - * Description: +/** ==UserStyle== + * @name Style Name + * @author github-username + * @licence GPLv3 + * @description + * Text + * in multiple + * lines * - * Screenshot: - * - * Contributor(s): + * @namespace https://github.com/Timvde/UserChrome-Tweaks + * @homepageURL https://github.com/Timvde/UserChrome-Tweaks + * @supportURL https://github.com/Timvde/UserChrome-Tweaks/issues */ -/* Please read the code style guidelines in CONTRIBUTING.md */ - -/* Your code here */ +@-moz-document url(chrome://browser/content/browser.xul) { + /* Your code here */ +} From d56076ffed40a154592e133d625b501e19c1d153 Mon Sep 17 00:00:00 2001 From: Madis Date: Mon, 28 Jan 2019 12:33:44 +0200 Subject: [PATCH 2/2] Fixed namespace --- template.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template.css b/template.css index 359863a..a883df4 100644 --- a/template.css +++ b/template.css @@ -7,11 +7,12 @@ * in multiple * lines * - * @namespace https://github.com/Timvde/UserChrome-Tweaks * @homepageURL https://github.com/Timvde/UserChrome-Tweaks * @supportURL https://github.com/Timvde/UserChrome-Tweaks/issues */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + @-moz-document url(chrome://browser/content/browser.xul) { /* Your code here */ }