Commit Graph

288 Commits

Author SHA1 Message Date
toasted-nutbread
e606a78b18 Fix version 2020-09-04 17:50:24 -04:00
f3f6ddd1fa Verison bump to 20.8.23.0 2020-08-23 18:11:11 -07:00
toasted-nutbread
2a86d66092
DOM + DocumentUtil merge (#727)
* Add DOM functions to DocumentUtil

* Use DocumentUtil instead of DOM

* Remove DOM

* Move document-util.js into mixed
2020-08-09 21:07:11 -04:00
toasted-nutbread
6da02c6eee
document.js refactor (#719)
* Refactor document.js into a class

* Move public functions first

* Rename private functions

* Rename

* Rename argument

* Use instance of DocumentUtil

* Update tests

* Refactor

* Rename (test-)document.js to (test-)document-util.js
2020-08-09 13:27:21 -04:00
toasted-nutbread
04d47bf8a9
Build system changes (#721)
* Refactor manifest.json

* Change end-of-line convention for built plain-text files

* Ignore builds directory

* Mark the "dev" directory as using the node environment

* Create build script

* Register build scripts

* Remove old build script

* Fix 64x64 icon

* Add test to ensure manifest data is updated properly
2020-08-09 13:09:06 -04:00
14efd8a824 Update verison to 20.8.3.0 2020-08-03 17:01:40 -07:00
toasted-nutbread
bdcdf9b1f5
Strip request origin (#710)
* Add web request permissions

* Create fetch wrapper that anonymizes the request

* Fix Firefox not supporting 'extraHeaders' option
2020-08-02 18:58:19 -04:00
toasted-nutbread
6f49f426b5
Generalized frame connections (#654)
* Create FrameClient and FrameEndpoint

* Use new Frame* classes for Popup=>frame connection

* Update api.sendMessageToFrame and api.broadcastTab to include the sender's frameId

* Update FrameClient to store the frame's frameId
2020-07-08 19:58:06 -04:00
toasted-nutbread
5bf805755a
Yomichan object separation (#627)
* Move "yomichan" object setup to a separate file

* Update script imports

* Align message handlers

* Rename Yomichan.prepare to Yomichan.ready

* Add new prepare function

* Improve isExtensionUrl
2020-06-28 11:26:43 -04:00
0a6c08d0f5 Version 20.6.27.0 2020-06-27 19:02:52 -07:00
toasted-nutbread
e23504613f
Use DOMTextScanner (#536)
* Use DOMTextScanner instead of TextSourceRange.seek*

* Move getNodesInRange to dom.js

* Move anyNodeMatchesSelector to dom.js

* Remove unused functions

* Update tests

* Add layoutAwareScan option

* Use layoutAwareScan for source and sentence scanning

* Remove unused IGNORE_TEXT_PATTERN
2020-06-21 16:07:51 -04:00
toasted-nutbread
9767b76553
Use cross frame API (#553)
* Use new CrossFrameAPI for popup proxy communication

* Remove use of old cross-frame communication classes

* Remove use of old cross-frame communication files

* Make the crossFrame object a member of the api object
2020-06-07 21:40:11 -04:00
d0dcff765f Version bump to 20.5.22.0 2020-05-22 17:41:33 -07:00
toasted-nutbread
dd673f0b26
Dynamic loader load style (#521)
* Remove unnecessary load of /fg/css/client.css

* Replace dynamicLoader.loadStyles with dynamicLoader.loadStyle

* Replace Popup._injectStylesheet with dynamicLoader.loadStyle

* Remove unused global
2020-05-19 20:33:06 -04:00
toasted-nutbread
9742d5662b
Use CSS variables for themes (#528)
* Update formatting

* Merge default tag color with category-less tags

* Use CSS variables for colors

* Add dark theme colors

* Move color variables into display.css

* Remove old stylesheets

* Update headings

* Bump minimum Firefox version to support CSS var()

* Revert popular kanji text color
2020-05-10 14:07:25 -04:00
toasted-nutbread
b936c3e4b1
Popup proxy host refactor (#516)
* Rename PopupProxyHost to PopupFactory

* Update FrontendApiReceiver to support non-async handlers

* Make some functions non-async

* Make setCustomCss non-async

* Make setContentScale non-async

* Remove static

* Rename variables

* Pass frameId into PopupFactory's constructor

* Change FrontendApiReceiver source from popup-proxy-host to popup-factor

* Rename _invokeHostApi to _invoke

* Rename PopupProxy.getHostUrl to getUrl
2020-05-08 19:04:53 -04:00
toasted-nutbread
4e0fc76fe1
Add Yomichan icon SVG (#478)
* Create Yomichan icon SVG and 32x32 PNG

* Update icons

* Add 32x32 icon definition to HTML pages
2020-04-26 16:56:14 -04:00
toasted-nutbread
6c93d1984f Change frontend-initialize.js to content-script-main.js 2020-04-19 14:26:20 -04:00
siikamiika
d66ca93ce4 cache invalidation 2020-04-18 23:28:00 +03:00
9e7750125c Version bump 2020-04-18 11:04:27 -07:00
281023095a Version bump 2020-04-10 09:36:34 -07:00
siikamiika
d20ece9f07 move frame offset forwarding code to a class 2020-04-05 19:57:37 +03:00
siikamiika
6806e7055f show iframe popups in root frame 2020-04-05 19:57:37 +03:00
98afe7adae Bump version 2020-03-14 13:12:08 -07:00
706c3edcff version bump 2020-02-24 21:30:37 -08:00
toasted-nutbread
3d27e80ae6 Delay CSS injection until a popup is created 2020-02-16 21:46:13 -05:00
toasted-nutbread
cc989f4411 Add "match_about_blank": true to manifest 2020-02-16 14:22:19 -05:00
0cf1cf3aa0 Version bump 2020-01-26 11:27:31 -08:00
9b4ec5a094 Version bump 2020-01-12 19:32:48 -08:00
f1f6a21732 Remove leading zeroes from version number to make Mozilla happy. 2020-01-11 18:19:45 -08:00
174b923665 New version for a new year 2020-01-04 11:53:05 -08:00
toasted-nutbread
ce51fe7eca Use a single api.js 2019-12-13 23:11:56 -05:00
siikamiika
df06251cb0
Merge pull request #299 from siikamiika/frontend-extract-text-scanner
Extract text scanner from Frontend
2019-12-07 15:20:28 +02:00
63f3e94bb1 version bump 2019-12-05 18:24:54 -08:00
siikamiika
02a34bb4bc initial text scanner extract 2019-12-05 03:58:35 +02:00
3975aabf4d version bump 2019-12-03 18:29:44 -08:00
toasted-nutbread
96aad50340 Create DOM utility file 2019-11-26 18:59:52 -05:00
toasted-nutbread
7e94fca7c7 Rename extension.js to core.js to better reflect its use 2019-11-26 17:29:52 -05:00
toasted-nutbread
a14b820a19 Move utilInvoke into api.js, rename to _apiInvoke 2019-11-26 17:23:55 -05:00
siikamiika
41020289ab add mecab support 2019-11-23 17:45:44 +02:00
91c01e0a7e Update version 2019-11-05 19:03:23 -08:00
siikamiika
d3f51690f8 make clipboardRead an optional permission 2019-10-27 01:51:18 +03:00
siikamiika
704864b7b2 add clipboard monitor to search page
Related to issue #262 about APIs
2019-10-26 18:15:28 +03:00
d32fd1381b increment version for testing 2019-10-20 11:22:50 -07:00
toasted-nutbread
173a474d5b Add unlimited storage permission 2019-10-15 19:41:39 -04:00
toasted-nutbread
cc72514ce6 Frontend updates 2019-10-11 23:24:51 -04:00
55b2c1d8f5 version bump 2019-10-10 19:49:05 -07:00
c3926c67ad version bump 2019-10-06 09:07:22 -07:00
bac237336e version bump 2019-10-05 10:16:33 -07:00
f5afe590ad version bump 2019-09-23 17:34:18 -07:00
c53263158b version bump 2019-09-05 20:20:23 -07:00
toasted-nutbread
53aad0bef6 Fix messaging issues when iframes are present in the document 2019-09-02 19:33:28 -04:00
toasted-nutbread
5c4614f585 Add support for showing recursive popups 2019-09-02 19:31:42 -04:00
4ac55da7dd version bump 2019-09-02 11:46:00 -07:00
Alex Yatskov
cd75f5b97d
Merge pull request #188 from toasted-nutbread/edge-support
Add support for Edge browser
2019-08-28 19:41:30 -07:00
toasted-nutbread
a39a1fa9e4 Add support for Edge browser 2019-08-26 21:58:03 -04:00
6c3671b3d9 version bump 2019-08-19 19:40:33 -07:00
b7e3ded74e version bump 2019-08-19 19:33:30 -07:00
1d6eb1c3d9 version bump 2019-08-18 12:29:14 -07:00
521aeee2bc fix manifest to contain proper values for stable version of yomichan 2019-08-17 16:01:54 -07:00
e23d4b9a82 version bump 2019-08-04 09:58:38 -07:00
8b8482d255 version bump 2019-07-01 19:04:23 -07:00
ca6c732364 Updating ID again for Mozilla 2019-05-19 18:52:08 -07:00
fe4f7b3a82 Create new ID for Mozilla Developer Hub 2019-05-19 18:09:40 -07:00
4f880e0cee Add testing variant 2019-05-19 17:51:31 -07:00
c8be68e205 Version bump 2019-05-19 17:48:58 -07:00
toasted-nutbread
7ac7f55436 Use "options_ui" in manifest 2018-12-10 17:23:53 -05:00
f659702ba2 workaround chrome options breakage 2018-03-12 13:04:08 -07:00
5f6830c7dd fixing broken anki template 2017-11-08 17:18:16 -08:00
dcef7ce377 version bump 2017-11-04 08:18:26 -07:00
00c20aed42 Merge branch 'master' into firefox-amo 2017-09-24 11:01:40 -07:00
c8810581e6 version bump 2017-09-17 13:08:20 -07:00
3a1aad07d6 Merge branch 'master' into firefox-amo 2017-09-11 16:56:27 -07:00
5f46006e8d scrap sandbox 2017-09-09 12:59:49 -07:00
9eac50ea05 add sandbox stub 2017-09-05 12:34:52 -07:00
65b679caeb Merge branch 'master' into firefox-amo 2017-08-26 12:36:56 -07:00
dbe6a16ca4 version bump 2017-08-26 12:23:10 -07:00
4ea0db3f62 inject content script into all frames, fixes #29 2017-08-23 09:34:45 -07:00
c4525027da bugfix and version 2017-08-19 21:09:54 -07:00
e22699cfcc bugfix and version 2017-08-19 21:08:06 -07:00
d5b4b04998 Merge branch 'master' into firefox-amo 2017-08-19 17:30:38 -07:00
922d2cd468 version bump 2017-08-18 21:05:17 -07:00
d960ba6dd6 fixing bugs, new version 2017-08-18 09:42:34 -07:00
39fbabfe62 Merge branch 'master' into firefox-amo 2017-08-17 19:39:32 -07:00
5c353f41e5 version bump 2017-08-15 20:42:27 -07:00
82863cd861 renaming files 2017-08-14 19:55:04 -07:00
8b50dfe1e9 unify files 2017-08-13 21:11:10 -07:00
7fbe2ddaf3 more cleanup 2017-08-05 20:20:22 -07:00
edf1c0ff6d cleanup 2017-07-22 23:19:38 -07:00
d6c2f1cc38 cleanup 2017-07-20 21:29:27 -07:00
8bcc4ddf19 cleanup 2017-07-20 21:21:22 -07:00
7dd75082ab rename options to settings 2017-07-16 12:59:16 -07:00
e2373345a4 version bump 2017-07-10 16:30:28 -07:00
efb5ed2af8 cleanup 2017-07-10 15:22:19 -07:00
c23298dbb2 Merge branch 'master' into firefox-amo 2017-06-26 20:23:53 -07:00
21b29ff135 version bump 2017-06-26 20:04:42 -07:00
e7e700e597 version bump 2017-06-25 16:26:05 -07:00
16baf9a400 Merge branch 'master' into firefox-amo 2017-05-25 23:06:10 -07:00
c0f74bbc8f smarter imposter hiding, version bump 2017-05-23 22:51:48 -07:00
c6673bdf48 version bump 2017-05-21 22:47:23 -07:00