Commit Graph

96 Commits

Author SHA1 Message Date
eight
d4436cde20 Add: implement exposeIframe 2018-10-11 01:39:10 +08:00
eight
43db875fd8 Kill more globals 2018-10-11 01:26:24 +08:00
eight
ba64b95575 WIP: kill cachedStyles 2018-10-11 00:54:38 +08:00
eight
7eba890a21 Merge branch 'dev-private-prefs' into dev-exclusions 2018-10-10 23:15:14 +08:00
eight
d2b36a168e Kill hidden globals 2018-10-10 23:05:20 +08:00
eight
6494985b50 Fix: various 2018-10-10 16:14:51 +08:00
eight
a38558ef78 WIP: make notifyAllTabs a noop 2018-10-08 15:30:39 +08:00
eight
582e9078af Fix: inject all scripts 2018-10-08 14:39:08 +08:00
eight
02f471f077 Fix: usercss API 2018-10-07 23:28:41 +08:00
eight
057111b171 Update usercss API 2018-10-07 22:59:31 +08:00
eight
69cae02381 Drop getStyles 2018-10-07 21:40:29 +08:00
eight
c5d41529d9 Minor fixes 2018-10-07 21:28:51 +08:00
eight
5b3b4e680f Add: navigator-util 2018-10-07 21:20:39 +08:00
eight
b5107b78a5 Add: broadcast messages with reasons 2018-10-07 01:42:43 +08:00
eight
fedf844ddd Add: getStylesInfoByUrl 2018-10-06 13:45:37 +08:00
eight
095998f07c Change: switch to msg.js 2018-10-06 13:27:58 +08:00
eight
fa3127d988 Change: switch to msg.js 2018-10-06 13:02:45 +08:00
eight
34497ebe16 WIP: switch to API 2018-10-05 18:47:52 +08:00
eight
f1639cc33e WIP: broadcastMessage 2018-10-05 01:03:40 +08:00
eight
81e4823f46 Debounce updateAllTabsIcon 2018-10-04 19:39:59 +08:00
eight
630725196f fixup! Fix: update all icons when some prefs changed 2018-10-04 19:22:44 +08:00
eight
0d0e1b4dc0 Fix: update all icons when some prefs changed 2018-10-04 19:20:36 +08:00
eight
829a134ed1 Fix: this -> prefs 2018-10-04 18:10:53 +08:00
eight
3af310c341 Fix: open-manager has no default value 2018-10-04 17:09:26 +08:00
eight
874a2da33e Enhance: make prefs use storage.sync 2018-10-04 17:04:23 +08:00
eight
6d32ffb76b WIP 2018-10-04 12:46:19 +08:00
eight
24b1eea8a4 Merge branch 'master' of https://github.com/openstyles/stylus into dev-exclusions 2018-10-03 15:00:07 +08:00
eight
5cbe8a8d78
Add: fetch style object from DB directly in the editor (#507) 2018-10-02 20:22:18 +08:00
eight
39a6d1909f Fix: prefs doesn't work in FF's private windows. Add web-ext. Drop prefs.readOnlyValues 2018-09-28 00:26:29 +08:00
tophf
406a7cd4c0 FF bug workaround: apply styles to more iframes 2018-08-09 21:22:26 +03:00
tophf
be94303bad simplify onInstalled 2018-08-06 18:20:57 +03:00
Rob Garrison
8a6011de8c Attempt to update icon count 2018-07-22 11:21:45 -05:00
tophf
0d7b8152e8 code cosmetics 2018-07-05 15:46:01 +03:00
tophf
d8b776bedf try installing from full code if 'sections' is empty in style json
fixes #414
2018-07-05 15:46:01 +03:00
tophf
0a082f30d2 Chrome with NativeCrxBindings: ignore lastError in injectCS 2018-04-25 10:37:07 +03:00
tophf
677bf7b9bf Chrome with NativeCrxBindings: check lastError in injectCS 2018-04-24 22:16:21 +03:00
tophf
e80efa7604 FF: hotkeys dialog 2018-04-12 21:28:45 +03:00
tophf
8524c76f66 setBadgeText has a callback in Chrome 67+ 2018-04-05 00:41:05 +03:00
tophf
4901e97f9f open USO style settings even if the site tab is auto-activated 2018-03-13 18:35:28 +03:00
tophf
40054902e9 USO can't handle POST requests for style json 2018-03-13 17:23:47 +03:00
tophf
28ef5572ba FF: ensure styles are applied to about:blank iframes
fixes #215
2018-03-08 19:25:09 +03:00
tophf
850b7dc635 clear localStorage for CM themes on extension update 2018-03-03 23:45:14 +03:00
tophf
918888ffb0 code cosmetics 2018-02-16 18:05:25 +03:00
tophf
f6991c4f57 fallback to 'path' when Canvas is blocked in FF
fixes #335
2018-01-30 19:42:30 +03:00
tophf
a3962b7adf put https://top.site.origin in "stylus-iframe" attr 2018-01-19 15:37:26 +03:00
tophf
eabfaca08e run webNavUsercssInstallerFF on the entire githubusercontent.com
fixes #329
2018-01-14 15:23:09 +03:00
tophf
989df35b05 live preview in editor
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
2018-01-12 00:54:36 +03:00
tophf
9fdabe3582 simplify getStyles
* 'asHash' implies 'enabled'
* 'length' is added to the style hash
2018-01-10 22:18:30 +03:00
tophf
87d28d3fc7 silence eslint 2018-01-07 11:52:46 +03:00
tophf
71c3e0c7a8 extract and improve dummy chrome.storage in FF
* chrome.storage.onChanged supported in own pages
* values are stored in the background page
* chrome.storage in own pages accesses that background storage
2018-01-04 17:04:23 +03:00