Commit Graph

2581 Commits

Author SHA1 Message Date
tophf
92ab165192 don't restore size of editor window if it has many tabs
previously it happened occasionally on browser startup resulting in unwanted resizing of the main browser window
2017-08-18 17:09:02 +03:00
tophf
21b2ba572b tHTML: handle mixed text/element nodes in top level 2017-08-18 17:00:06 +03:00
tophf
6625cd4349 use optionsOpenManager message in popup's "manage" button tooltip 2017-08-18 14:48:35 +03:00
tophf
0189fc0d6b popup should wait for tab-on-demand to start loading
fixes a rare case of the popup being invoked right after switching to a lazily restored tab-on-demand, which doesn't have an URL yet in FF or has an URL but not the content script in some Chrome forks that implement tab-on-demand
2017-08-18 14:48:11 +03:00
tophf
fef748d128 wait for bg to load before enabling filters 2017-08-18 14:32:20 +03:00
tophf
815f8ca959 also find styles for URLs with stripped #hash
kinda fixes #155

as per spec the fragment portion is ignored in @-moz-document:
https://www.w3.org/TR/2012/WD-css3-conditional-20120911/#url-of-doc
but we still respect url("foo#hash") set in userstyles
because the spec is outdated and doesn't account for SPA sites

collateral damage: simplified URLS.supported()
2017-08-18 13:18:19 +03:00
tophf
d24b62461c don't detect sloppy regexps in styles without regexps 2017-08-18 12:56:03 +03:00
tophf
aded4f7c01 display full text in tooltips of ellipsized buttons 2017-08-18 10:25:35 +03:00
narcolepticinsomniac
39e1421d29 'Check all styles for updates' button ellipsis
#156
2017-08-18 01:30:55 -04:00
tophf
1ca68b8488 fixup ede1187b: settings may be missing 2017-08-16 21:44:59 +03:00
tophf
a077de3624 fixup! 2017-08-16 14:06:06 +03:00
tophf
93fdd787d4 apply: ensure style elements follow <body> 2017-08-16 14:00:59 +03:00
tophf
f80f5612d6 code cosmetics: split manage.js 2017-08-16 08:18:23 +03:00
tophf
f001bca849 manage: show stats for filtered/total styles 2017-08-16 08:18:22 +03:00
tophf
a3d0a1e340 popup: simplify breadcrumbs; fix 1st word underline in FF 2017-08-14 21:15:29 +03:00
tophf
ede1187b31 popupWidth setting isn't a special sync case anymore 2017-08-13 17:33:57 +03:00
tophf
d49e44ddc1 csslint: CSS variables
* kinda fixes #149
* primitive recognition only
  (it's not like we expect csslint to be smart anyway)
2017-08-13 13:38:11 +03:00
tophf
d2b81be9d1 editor: CM scroller height fix for resize-grip (fixup b45f51f1)
fixes #142
2017-08-09 16:56:39 +03:00
Jeremy Schomery
a37281afb7 version 1.1.3.1 2017-08-09 13:57:15 +04:30
Jeremy Schomery
493d9cd764 pull locales from transifex 2017-08-09 13:19:16 +04:30
Jeremy Schomery
1b5db4872d version 1.1.3 2017-08-09 11:53:09 +04:30
tophf
aac39da053 avoid leaking of "dead objects"; fixes #141 2017-08-08 19:33:43 +03:00
narcolepticinsomniac
42d0bcd673 Eliminate popup button ellipsis and fix margins
Fixes #140
2017-08-07 18:25:01 -04:00
narcolepticinsomniac
ede3725268 Popup adjustments for common zoom levels
Fixes #133
2017-08-07 17:15:19 -04:00
tophf
975411d567 Merge pull request #135 from Mottie/template
Correct wording in issue template
2017-08-07 06:31:15 +03:00
Rob Garrison
427798e4bf Correct wording in issue template 2017-08-06 21:03:47 -05:00
tophf
30c19cf64e fixup 860443b9: BG can point to itself 2017-08-04 12:42:34 +03:00
tophf
af41d646dd Don't show editor.contextDelete option in FF; #128 2017-07-31 19:39:44 +03:00
tophf
78d7697845 Explicitly mention compatibility with Firefox 2017-07-31 16:43:24 +03:00
tophf
860443b909 ensure getBackgroundPage is fully loaded 2017-07-29 08:17:49 +03:00
tophf
3ddf812635 Don't count styles on NTP in Chrome 61+, see #122 2017-07-28 08:19:07 +03:00
Jeremy Schomery
f57240d3c1 version 1.1.2 2017-07-25 09:47:30 +04:30
tophf
acd9fc931d Bulgarian stylusUnavailableForURLdetails as per #121 2017-07-23 21:57:19 +03:00
tophf
0d2d21b54d editor->manage: always highlight the just edited style 2017-07-23 18:33:55 +03:00
tophf
3b49d83616 In Chrome 61.0.3161+ NTP can't be styled anymore 2017-07-23 12:42:34 +03:00
tophf
b37b2c5246 fixup e463ca7e: use the actual tab index 2017-07-22 16:57:52 +03:00
tophf
93ff6d0f85 Merge pull request #119 from openstyles/innerHTML
dealing with innerHTML
2017-07-22 16:49:52 +03:00
tophf
406a7ba7f1 Merge pull request #121 from AdmiralAnimE/master
Bulgarian translation
2017-07-22 16:40:49 +03:00
AdmiralAnimE
96f7d06609 Bulgarian translation 2017-07-22 15:51:11 +03:00
tophf
e463ca7ece setBadgeText: skip pre-rendered tabs 2017-07-22 12:56:38 +03:00
Jeremy Schomery
3c298995f1 a few fixes 2017-07-22 12:56:37 +03:00
Jeremy Schomery
3ccdb555da no insertAdjacentHTML usage on CM theme switching 2017-07-22 12:56:37 +03:00
Jeremy Schomery
9870a8041c no innerHTML on messageBox() 2017-07-22 12:56:37 +03:00
Jeremy Schomery
53683dcbbd empty contents of showHelp() before appending childs; based on https://github.com/openstyles/stylus/pull/119#issuecomment-316372767 2017-07-22 12:56:37 +03:00
Jeremy Schomery
7affeedd3b removing tE() 2017-07-22 12:56:37 +03:00
Jeremy Schomery
332f95e1ff i18n-html to i18n-text if possible. tNodeList now parses HTML content using tHTML 2017-07-22 12:56:37 +03:00
Jeremy Schomery
0955fc852c removing a few more innerHTMLs 2017-07-22 12:56:28 +03:00
tophf
12d67fda6c fixup 312424ff: process multiple top-level elements in tHTML 2017-07-22 12:56:28 +03:00
Jeremy Schomery
61971b97c8 tHTML uses parseFromString instead of innerHTML. showHelp now uses tHTML 2017-07-22 12:56:28 +03:00
Jeremy Schomery
5d46dcc33e customizeOpenDialog, openDialog, and originalOpenConfirm now use cloned template instead of innerHTML 2017-07-22 12:54:32 +03:00