Commit Graph

2384 Commits

Author SHA1 Message Date
tophf
6d65d2a2b6 Expose iframes via HTML[stylus-iframe]
* convert actions to buttons
2017-04-29 03:27:47 +03:00
tophf
fbc3ac0070 match-highlighter: do nothing if token is same 2017-04-29 00:54:37 +03:00
tophf
93695da69a code cosmetics 2017-04-29 00:04:01 +03:00
tophf
9740144e63 Add an empty line before check-all in update log 2017-04-28 19:44:03 +03:00
tophf
33fa5693ed make sure style.id is not 0 in saveStyle 2017-04-28 15:28:52 +03:00
tophf
77ffd3004d fixup 3dc93436: immediately render a chunk if ScrollY>0 2017-04-28 15:28:52 +03:00
tophf
68d2aeba69 remove health.js 2017-04-28 15:28:51 +03:00
tophf
cff3d13d4b optionsUI: add a post-import update hint 2017-04-28 15:28:51 +03:00
tophf
0ce99afbf5 No need for Stylish->Stylus substitution on new USO 2017-04-28 15:28:51 +03:00
tophf
e0124f66ba code cosmetics 2017-04-28 15:28:51 +03:00
tophf
738788f289 tweak no-unused-vars 2017-04-28 15:28:51 +03:00
tophf
459c2e5ef3 update log timestamp adjustments 2017-04-28 15:28:51 +03:00
tophf
f0dc13cd2e debounce update log writer 2017-04-28 15:28:51 +03:00
tophf
a22874a898 write/read styleDigest in the backup file 2017-04-28 15:28:50 +03:00
tophf
809e70a89c manage: show update history button 2017-04-27 20:40:45 +03:00
tophf
c47e2af430 enable automatic style updates every 24h 2017-04-26 21:35:30 +03:00
tophf
896b004ef9 Vivaldi needs oncontextmenu->preventDefault 2017-04-26 18:44:23 +03:00
tophf
5e2982c33b fixup! filters 2017-04-26 18:35:00 +03:00
tophf
1e29504b9f manage: toggle style without recreating its element 2017-04-26 17:53:38 +03:00
tophf
50ec32a7b2 Rephrase the misleading "only edited styles" option 2017-04-26 14:33:31 +03:00
tophf
af365568fb re-use normal bg in update tooltip when locally edited 2017-04-26 01:44:09 +03:00
tophf
f08312ab00 rephrase update messages 2017-04-26 01:36:12 +03:00
tophf
acc4d83b9d promisify DB access 2017-04-26 01:36:08 +03:00
tophf
02fd4f1abe Display "force-install" for locally edited styles on update
* Allow manually resetting locally edited style even if up-to-date
* "Check again, I didn't edit any styles!" button
2017-04-26 01:35:32 +03:00
tophf
6000bb33ab editor: dim Save button when not modified 2017-04-26 01:35:15 +03:00
tophf
5a9930c608 fixup 2a7231a8: remove z-index 2017-04-26 01:35:15 +03:00
tophf
7677f0dece updater: add 'ignoreDigest' to force-update on manage page
* saveStyle: retain only known properties in sections[] and normalize their order
* remove styleDigest on import
* shorten detailed status names in updater
* don't autohide update status message
2017-04-26 01:35:14 +03:00
tophf
32ae088c03 Detect and don't update locally edited styles 2017-04-26 01:34:57 +03:00
tophf
36667dece1 install.js: fix onclick after orphanCheck 2017-04-26 01:34:57 +03:00
tophf
3628564961 reset L10N cache on update 2017-04-26 01:34:57 +03:00
tophf
736302962c restore "x" in messageBox(), add namespace#tag to $element() 2017-04-26 01:34:57 +03:00
tophf
f9e90f9cd0 code cosmetics: simplify debounce() 2017-04-23 23:05:36 +03:00
tophf
fdc15d24d9 try to avoid setBadgeText errors 2017-04-23 23:05:35 +03:00
tophf
ceed8b565c a bit darker svg-icon 2017-04-23 23:05:35 +03:00
tophf
3dc934369b manage: simplify DOM (append icons only when needed) 2017-04-23 23:05:31 +03:00
tophf
e3c135e87e code cosmetics 2017-04-21 20:35:22 +03:00
tophf
135423860d setupLivePrefs() now automatically finds the elements
To make an element a live pref discoverable by setupLivePrefs() just use the corresponding pref's id as the element's HTML id attribute.
2017-04-21 19:39:34 +03:00
tophf
5eb55baa95 optionsUI+Opera: keep the status inside its block 2017-04-21 15:56:21 +03:00
tophf
09670f59dc manage: adjust .update-problem colors 2017-04-21 15:56:21 +03:00
tophf
9617d571f8 manage: reuse BG.updater 2017-04-21 15:56:21 +03:00
tophf
fc7793453c code cosmetics: simplify import::undo 2017-04-21 15:52:23 +03:00
tophf
3b433adb42 check if orphaned in docRewriteObserver 2017-04-21 15:52:23 +03:00
tophf
3713c252a8 broadcast affectsIcon's keys on startup 2017-04-21 15:52:23 +03:00
tophf
47eefd1cd2 code cosmetics: contextMenus use prefs.subscribe() 2017-04-21 15:52:23 +03:00
tophf
468a758cec code cosmetics: inverted "no????" params to straight ones 2017-04-21 15:52:23 +03:00
tophf
9e9723cfd2 code cosmetics 2017-04-21 15:52:22 +03:00
tophf
2e60af40f0 refactor bg updater; add prefs.subscribe() 2017-04-21 15:52:22 +03:00
tophf
c52b8c453f refactor background.js
* use runtime.onInstalled to open FAQ
* extract refreshAllTabs (now it may call applyOnMessage for own tab)
* extract getCodeMirrorThemes and use localStorage to cache the names
* put one-time init stuff inside blocks to help GC
2017-04-21 14:16:56 +03:00
tophf
aa5fc9f640 notify USO earlier in install.js by relaying xhr 2017-04-20 04:52:13 +03:00
tophf
98c34da9e7 simplify and speed up USO rebrand observer 2017-04-20 01:27:25 +03:00