Commit Graph

584 Commits

Author SHA1 Message Date
narcolepticinsomniac
f61e9774d6 Remove translation for changed message 2017-03-16 07:37:24 -04:00
narcolepticinsomniac
0b50d3603b Remove translation for changed message 2017-03-16 07:35:58 -04:00
tophf
7d5b9b8a34 New backup labels by narcolepticinsomniac 2017-03-16 13:32:13 +03:00
tophf
f86a6489ef Always try CS reinjection (safe since we ping first) 2017-03-16 13:32:13 +03:00
tophf
08509b8cc2 Support file drag-n-drop on the entire manage page 2017-03-16 13:32:13 +03:00
tophf
31a24717b4 Use chrome.tabs.query instead of 2-tier window+tabs 2017-03-16 13:32:13 +03:00
tophf
59e0f3f45e Self-destruct orphaned content scripts 2017-03-16 13:32:13 +03:00
tophf
e658255c36 Reinject content scripts on install/update/enabling the extension
The injection code also runs outside of onInstalled event so we check first if a content script belonging to our execution context "generation" is already injected. This can happen on browser startup: the background page is loaded in several seconds after the normal web page tabs are loaded with our content script(s) already injected. The check itself is simply a "ping" message to each tab that should return true if the content script is alive and kicking.
2017-03-16 13:32:12 +03:00
tophf
34cd025487 Use Object.assign instead of shallowMerge 2017-03-16 13:32:12 +03:00
tophf
913df00f35 Don't notify normal tabs if style contents hasn't changed 2017-03-16 13:32:12 +03:00
tophf
e807d41eb7 Refactor manage::codeIsEqual -> storage::styleSectionsEqual 2017-03-16 13:32:12 +03:00
tophf
d49622dd27 Make exported styles JSON human-readable by indenting 2017-03-16 13:32:12 +03:00
tophf
38006847f7 Don't apply styles until import is finished 2017-03-16 13:32:12 +03:00
narcolepticinsomniac
e2e64113fe Remove unnecessary text-indent 2017-03-16 01:15:58 -04:00
Jeremy Schomery
2fdbf321a1 fixes https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286388663 2017-03-14 16:37:08 +03:30
tophf
6b49afaa48 Apply enable/disable state of style to popup itself 2017-03-14 15:18:58 +03:00
tophf
94836b92d7 Revert "compatibility fix for Chrome v57.0.2987.98 based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286348011"
This reverts commit 9e4faa9a29.
2017-03-14 15:15:33 +03:00
Jeremy Schomery
177e5127db do not display the FAQs page in development mode 2017-03-14 12:44:10 +03:30
Jeremy Schomery
9e4faa9a29 compatibility fix for Chrome v57.0.2987.98 based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286348011 2017-03-14 12:32:53 +03:30
Jeremy Schomery
eec08b04c3 Merge branch 'issues/43#issuecomment-286142529' 2017-03-14 12:28:55 +03:30
Jeremy Schomery
b1582d508d popup resizes itself after style changes 2017-03-14 09:42:00 +03:30
Jeremy Schomery
7363f45864 updating zh_CN 2017-03-13 23:03:31 +03:30
Jeremy Schomery
708ff97723 new fix for https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286154032 2017-03-13 22:56:43 +03:30
Jeremy Schomery
e109f882da based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286154032 2017-03-13 19:48:16 +03:30
Jeremy Schomery
4f83aa1239 possible fix for https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286142529 2017-03-13 19:18:00 +03:30
Jeremy Schomery
2a5953a106 changing the order of buttons to match Windows OS confirm box; based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286111716 2017-03-13 17:33:38 +03:30
Jeremy Schomery
52d3387c6a based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286102989 2017-03-13 17:11:01 +03:30
Jeremy Schomery
65845c6c6e replacing window.confirm 2017-03-13 16:28:35 +03:30
narcolepticinsomniac
1d00055e5e "Turn all styles off" stylename strikethrough
#43
2017-03-12 18:18:09 -04:00
Jeremy Schomery
2c2e21d620 Merge branch 'master' of github-jeremy:schomery/stylish-chrome 2017-03-11 19:25:06 +03:30
Jeremy Schomery
3be2c300b2 revert back localization.js changes based on 2da4a8708c (commitcomment-21270367) 2017-03-11 19:23:53 +03:30
narcolepticinsomniac
759096f0d0 Edit delete links cosmetic tweaks 2017-03-11 05:20:02 -05:00
narcolepticinsomniac
79c801fa63 Edit/delete link cosmetic tweaks
Feel free to improve upon this if you want.
2017-03-11 05:15:03 -05:00
Jeremy Schomery
74cbefc427 adding the new FAQs page 2017-03-11 12:56:24 +03:30
Jeremy Schomery
b721f01c5f Merge branch 'popup-design' 2017-03-11 12:45:47 +03:30
Jeremy Schomery
2da4a8708c Supporting tooltip; https://github.com/schomery/stylish-chrome/issues/38#issuecomment-285350914 2017-03-11 12:41:38 +03:30
Jeremy Schomery
616a2517f5 https://github.com/schomery/stylish-chrome/issues/38#issuecomment-285854060 2017-03-11 12:35:37 +03:30
schomery
0903b824a6 Merge pull request #42 from d3n1c1d3/patch-2
Update README.md
2017-03-11 12:28:40 +03:30
narcolepticinsomniac
9deef0ed97 Lighten icons a bit 2017-03-10 19:22:50 -05:00
d3n1c1d3
90a4e0737b Update README.md
added translate info
2017-03-10 09:51:25 +01:00
narcolepticinsomniac
888faf4c61 Alignment tweak for "Turn all styles off" 2017-03-09 18:33:32 -05:00
narcolepticinsomniac
b555c395eb Edit/delete as buttons with icons
The icons I used are from right here on Github. They're SVG, so there should't be reliability issues. Wanted to see how they'd look, and I really kinda like it. Thoughts?
2017-03-09 07:53:00 -05:00
Jeremy Schomery
885bab9a03 moving popupWidth pref to localStorage base on https://github.com/schomery/stylish-chrome/issues/38#issuecomment-284693730 2017-03-08 16:41:26 +03:30
Jeremy Schomery
ac967ace5e fixes https://github.com/schomery/stylish-chrome/issues/13#issuecomment-284582600 2017-03-08 11:43:35 +03:30
Jeremy Schomery
974aaee823 popup width is now adjustable 2017-03-06 23:47:32 +03:30
Jeremy Schomery
fb45e86648 fixes #13 2017-03-06 18:15:49 +03:30
Jeremy Schomery
0646f6bd65 a few changes in the popup look based on #38 2017-03-06 17:44:09 +03:30
Jeremy Schomery
277a180cd0 new fix #36 2017-03-06 16:23:45 +03:30
narcolepticinsomniac
17e1b3f658 Change 'body' id 2017-03-05 09:40:48 -05:00
narcolepticinsomniac
ef7a3209d7 Account for editor header overflow 2017-03-05 04:56:17 -05:00