Commit Graph

80 Commits

Author SHA1 Message Date
eight
8e75871b9b Breaking: drop getStylesFallback 2018-10-14 02:19:01 +08:00
eight
ad06551440 Fix: use dataurl to inject page script 2018-10-14 02:16:48 +08:00
eight
14e321d258 Fix: don't update icon for popup and options 2018-10-14 00:40:23 +08:00
eight
39d21c3d29 Fix: broadcastError -> ignoreError 2018-10-13 23:57:45 +08:00
eight
ecb622c93c Fix: implement styleViaAPI 2018-10-13 21:29:06 +08:00
eight
7c3d49c005 Fix: ROOT may change in XML pages 2018-10-13 17:50:28 +08:00
eight
859afc8ee9 Enhance: don't cache enabled state 2018-10-13 16:39:54 +08:00
eight
43afa31fa0 Fix: update tab icon on forward/backward 2018-10-13 14:50:31 +08:00
eight
fa080d1913 Fix: catch csp error 2018-10-12 15:21:36 +08:00
eight
e0b064115d Fix: use a simple eval to execute page scripts 2018-10-12 15:03:00 +08:00
eight
0ea7ada48f Fix: content script may load before the background is ready 2018-10-12 02:02:14 +08:00
eight
a57b3b2716 Fix: firefox 2018-10-11 23:39:11 +08:00
eight
3e38810a49 Fix: make sure icons are refreshed at startup 2018-10-11 18:13:24 +08:00
eight
c657d7e55c Add: implement bug 461 2018-10-11 17:32:27 +08:00
eight
30e494eda9 Add: icon-util 2018-10-11 15:42:23 +08:00
eight
510a886e14 Fix: exposeIframes 2018-10-11 03:21:38 +08:00
eight
d4436cde20 Add: implement exposeIframe 2018-10-11 01:39:10 +08:00
eight
dc491e9be3 Kill old storage, storage-dummy 2018-10-11 01:22:13 +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
fd9ab5d6e5 Fix: switch to editor 2018-10-10 00:41:07 +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
e7ef4948cd Fix: observer is unavailable? 2018-10-06 18:10:58 +08:00
eight
1c635b5bc1 Drop requestStyles 2018-10-06 17:47:43 +08:00
eight
75f2561154 Fix: don't recreate element when style update in popup 2018-10-06 16:38:04 +08:00
eight
196b6aac63 Fix: the return value of getSectionsByUrl is changed 2018-10-06 15:16:00 +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
d35f92250e Fixme: styleViaAPI 2018-10-04 18:08:19 +08:00
eight
8a6e8ac03a Change: drop prefChanged, use prefs service 2018-10-04 18:05:41 +08:00
eight
6d32ffb76b WIP 2018-10-04 12:46:19 +08:00
tophf
e128498518 code cosmetics: convert to a lintable template string 2018-09-11 17:41:46 +03:00
tophf
6fdc01201b FF: preserve sheet's disabled state in workaround for #461 2018-09-11 17:39:43 +03:00
tophf
dcdb4be10b FF59+: always set style's textContent in page context
see #461
2018-09-05 15:58:15 +03:00
tophf
bfe18e74a4 FF bug workaround: set style element code in page context
fixes #461
2018-08-25 09:42:35 +03:00
tophf
406a7cd4c0 FF bug workaround: apply styles to more iframes 2018-08-09 21:22:26 +03:00
tophf
1b7c131c37 fixup 1a42e6bf 2018-08-06 21:27:48 +03:00
tophf
91fb0579f1 code clarification 2018-08-06 17:38:38 +03:00
tophf
1a42e6bf00 move the iframe styles in the next animation frame
fixes #461
2018-08-06 17:38:38 +03:00
tophf
75a9ce4696 don't overwrite url in stylus-iframe attr with "true" 2018-01-20 16:26:13 +03:00
tophf
a3962b7adf put https://top.site.origin in "stylus-iframe" attr 2018-01-19 15:37:26 +03:00
tophf
0fa391732b workaround for Chrome devtools bug (fixed in v65)
recreate the style element on style code change because older devtools inspector can't edit injected rules after we update textContent of an existing element
2018-01-15 19:43:35 +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
11dbfea897 apply.js: FF forgets the extra methods on MutationObserver 2018-01-10 19:50:48 +03:00
tophf
9aa382ebf5 disconnect an orphaned chrome.runtime message/port listener 2018-01-10 19:50:29 +03:00