Commit Graph

100 Commits

Author SHA1 Message Date
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
tophf
2374c88e1b extract styleSectionsEqual 2018-01-04 16:43:54 +03:00
tophf
eb3c770612 bump version 2018-01-03 18:45:21 +03:00
tophf
eb65ce1a88 bump version 2018-01-03 10:47:06 +03:00
tophf
3418ac9cb9 FF: support private/container tabs 2018-01-03 10:43:56 +03:00
tophf
319b2c2411 bump version 2017-12-30 04:34:55 +03:00
tophf
d9f8d1361f bump version 2017-12-26 14:42:58 +03:00
tophf
fd4300f841 add a wiki link, shorten the USO link, use https everywhere 2017-12-13 07:15:40 +03:00
tophf
c23e192b7a bump version 2017-12-11 23:58:01 +03:00
tophf
6fb9d2d157 switch to a much faster LZStringUnsafe
https://github.com/pieroxy/lz-string/pull/98
2017-12-10 11:30:57 +03:00
tophf
fa6365d297 bump version 2017-12-09 21:37:58 +03:00
tophf
e45748d515 bump version 2017-12-09 20:48:13 +03:00
tophf
a1f2d2a719 bump version to 1.1.7.6 2017-12-08 20:26:37 +03:00
tophf
0413736a29 remove the now redundant "chrome_style" from the options page 2017-12-08 06:20:30 +03:00
tophf
c723ec58ce bump version to 1.1.7.2 2017-12-03 20:36:20 +03:00
tophf
0f3ddb9c03 bump version to 1.1.7.1 2017-12-03 17:14:13 +03:00
tophf
c1d15cfeb4 bump version to 1.1.7 2017-12-03 08:27:41 +03:00
tophf
47c6e7a52e bump version to 1.1.6.3 2017-11-25 20:24:50 +03:00
tophf
978e5ca9f0 sendMessage()
Promise mode [default]:
  - rejects on receiving {__ERROR__: message} created by
    background.js::onRuntimeMessage
  - suppresses chrome.runtime.lastError
    by browserAction.setText which lacks a callback param in chrome API

Callback mode:
  - enabled by passing a second param
  - doesn't suppress chrome.runtime.lastError
2017-11-25 18:00:38 +03:00
tophf
226fc471eb bump version to 1.1.6.2 2017-11-25 17:44:32 +03:00
tophf
4e9e4d24b1 bump version to 1.1.6.1 2017-11-21 11:03:22 +03:00
tophf
46df47bf31 bump version to 1.1.6 2017-11-21 10:10:29 +03:00
tophf
40f9413207 version 1.1.5 2017-11-14 11:57:05 +03:00
Jeremy Schomery
12e2fbdd37 version 1.1.4.3 2017-11-14 10:57:20 +03:30
tophf
ac8331e6ae FF: use tabs API for XML viewer 2017-11-14 09:52:51 +03:00
eight
db1643e9b8 Refactor: pull out colorParser 2017-11-01 11:18:13 +08:00
eight
098dc10f85 Fix: pull out runtimeSend 2017-11-01 11:15:11 +08:00
eight
1d829fe8f5 Fix: split up usercss logic from saveStyle 2017-09-18 11:34:12 +08:00
eight
d4ddefe8a0 Merge branch 'master' of https://github.com/openstyles/stylus into dev-user-css 2017-09-12 03:40:56 +08:00
Jeremy Schomery
63954c986f version 1.1.4.1 2017-09-06 18:53:09 +04:30
Jeremy Schomery
8f28872830 version 1.1.4 2017-09-06 16:15:24 +04:30
eight
1f44898475 Add: adopt node-semver 2017-09-06 03:08:03 +08:00
eight
dece4b57f3 Add: install styles from *.user.css file
Fix: handle dup name+namespace

Fix: eslint eqeqeq

Fix: trim @name's spaces

Add: check update for userstyle

Add: build CSS variable

Fix: only check dup when id is not provided

Refactor: userStyle2json -> userstyle.json

Add: style for input

Add: config dialog

Fix: preserve config during update

Fix: onchange doesn't fire on keyboard enter event

Fix: remove empty file

Add: validator. Metas must stay in the same line

Add: warn the user if installation failed

Fix: add some delay before starting installation

Add: open the editor after first installation

Fix: add openEditor to globals

Fix: i18n

Add: preprocessor. Move userstyle.build to background page.

Fix: remove unused global

Fix: preserved unknown prop in saveStyleSource() like saveStyle()

Add: edit userstyle source

Fix: load preprocessor dynamically

Fix: load content script dynamically

Fix: buildCode is async function

Fix: drop Object.entries

Fix: style.sections is undefined

Fix: don't hide the name input but disable it

Fix: query the style before installation

Revert: changes to editor, editor.html

Refactor: use term `usercss` instead of `userstyle`

Fix: don't show homepage action for usercss

Refactor: move script-loader to js/

Refactor: pull out mozParser

Fix: code style

Fix: we don't need to build meta anymore

Fix: use saveUsercss instead of saveStyle to get responsed error

Fix: last is undefined, load script error

Fix: switch to moz-format

Fix: drop injectContentScript. Move usercss check into install-user-css

Fix: response -> respond

Fix: globals -> global

Fix: queryUsercss -> filterUsercss

Fix: add processUsercss function

Fix: only open editor for usercss

Fix: remove findupUsercss fixme

Fix: globals -> global

Fix: globals -> global

Fix: global pollution

Revert: update.js

Refactor: checkStyle

Add: support usercss

Fix: no need to getURL in background page

Fix: merget semver.js into usercss.js

Fix: drop all_urls in match pattern

Fix: drop respondWithError

Move stylus -> stylus-lang

Add stylus-lang/readme

Fix: use include_globs

Fix: global pollution
2017-08-30 17:29:41 +08:00
Rob Garrison
988af5f1b8 Store linter rules with sync & LZ compression 2017-08-27 17:20:47 -05:00
Jeremy Schomery
a37281afb7 version 1.1.3.1 2017-08-09 13:57:15 +04:30
Jeremy Schomery
1b5db4872d version 1.1.3 2017-08-09 11:53:09 +04:30
Jeremy Schomery
f57240d3c1 version 1.1.2 2017-07-25 09:47:30 +04:30
Rob Garrison
4cbd48b9f9 Rename options.html & fix path 2017-07-14 03:25:33 -05:00
Rob Garrison
ac91e25eb4 Move messaging.js file & references 2017-07-13 19:52:40 -05:00
Rob Garrison
bb33ff3981 Fix links & split out edit.css 2017-07-12 16:26:20 -05:00
Jeremy Schomery
50a2b5dd72 Updating locales from transifex 2017-07-12 11:46:13 +04:30
Jeremy Schomery
c5a340e44e version 1.1.0 2017-06-14 09:30:19 +04:30
Jeremy Schomery
14e8dedded version 1.0.9 2017-05-30 16:21:41 +04:30
Jeremy Schomery
8989a53517 version 1.0.8 2017-05-15 18:14:59 +04:30
Jeremy Schomery
497756d838 version 1.0.7 2017-05-06 15:40:07 +04:30
Jeremy Schomery
f3c42fc27b version 0.1.6 2017-05-02 19:16:02 +04:30
tophf
e61a24b4e4 refactor install.js
* run_at: document_start
* MutationObserver to rebrand without flickering the original text
* reuse styleSectionsEqual
* don't proceed when orphaned
2017-04-18 12:46:38 +03:00
tophf
470bc92da5 Add <all_urls> in permissions
We already have full access to all sites via our content script so this permission doesn't add anything new but we need it to be able to establish page connection via tabs.executeScript when the extension is installed, reloaded, re-enabled.

<all_urls> also allows file:// URLs unlike *://*/* used previously. Of course it requires the corresponding checkbox being enabled on chrome://extensions page.
2017-04-18 12:46:36 +03:00
tophf
ca911396a1 Don't use chrome://favicon
chrome://favicon doesn't indicate an icon is missing in any way, it simply shows a placeholder instead. It also doesn't extrapolate from sub-pages so `example.com` won't have a favicon even if `example.com/subpage` has one.
2017-04-18 12:46:36 +03:00
tophf
05c05ec6b9 manage: use chrome://favicon 2017-04-18 12:46:36 +03:00