toasted-nutbread
8c4fb28a30
Add support creating profile usage conditions
2019-09-18 19:14:01 -04:00
Alex Yatskov
e3fb9603e2
Merge pull request #209 from toasted-nutbread/settings-profiles
...
Settings profiles
2019-09-16 18:32:01 -07:00
Alex Yatskov
ae696c32eb
Merge pull request #216 from toasted-nutbread/normalize-xhtml-node-names
...
Normalize XHTML document node.nodeNode to upper case
2019-09-16 18:31:26 -07:00
toasted-nutbread
073420a121
Normalize XHTML document node.nodeNode to upper case
2019-09-15 16:09:46 -04:00
toasted-nutbread
9fb89d8f7d
Isolate to background window
2019-09-15 16:04:26 -04:00
toasted-nutbread
8b7e293eae
Remove profile without popup when shift key is pressed
...
Also removes duplicate click listener.
2019-09-15 15:58:19 -04:00
toasted-nutbread
34ddbf25fe
Implement profile order changing
2019-09-15 15:58:19 -04:00
toasted-nutbread
1f77506f43
Implement profile copy
2019-09-15 15:58:19 -04:00
toasted-nutbread
c002e1bbd2
Update dictionaries for all profile options
2019-09-15 15:58:19 -04:00
toasted-nutbread
6c571bf828
Add UI for profiles
2019-09-15 15:56:53 -04:00
toasted-nutbread
c8171f5ec7
Add preliminary support for profiles
2019-09-15 15:56:53 -04:00
Alex Yatskov
5877861277
Merge pull request #213 from toasted-nutbread/options-isolation
...
Isolate options objects created via settings.js
2019-09-15 11:34:34 -07:00
Alex Yatskov
e4fa658295
Merge pull request #212 from toasted-nutbread/frontend-cleanup
...
Frontend cleanup
2019-09-15 11:33:48 -07:00
Alex Yatskov
4af9fc2b3b
Merge pull request #214 from toasted-nutbread/add-anchor-noopener
...
URL improvements
2019-09-15 11:32:48 -07:00
Alex Yatskov
88a6128e39
Merge pull request #211 from toasted-nutbread/validate-content-window
...
Validate contentWindow before focus
2019-09-14 17:31:23 -07:00
Alex Yatskov
2add068ff2
Merge pull request #210 from toasted-nutbread/defer-port-creation
...
Defer creation of communication port until required
2019-09-14 17:30:52 -07:00
Alex Yatskov
ab2db771ad
Merge pull request #208 from toasted-nutbread/fix-popup-orphans
...
Fix nested popups being shown if parent is hidden
2019-09-14 17:29:52 -07:00
toasted-nutbread
f8aa926f8a
Upgrade website URLs to https
2019-09-14 20:18:03 -04:00
toasted-nutbread
ba1875c56a
Add rel="noopener" to all anchors with target="_blank"
2019-09-14 19:59:45 -04:00
toasted-nutbread
6358b655ae
Isolate options objects created via settings.js
...
Prevents dead objects created by different windows.
2019-09-14 16:21:41 -04:00
toasted-nutbread
0067dfeacc
Remove redundant call of popupTimerClear
...
Also use explicit null checks rather than truthy checks.
2019-09-14 15:29:43 -04:00
toasted-nutbread
8b1e4d1c6f
Return only single element when deepDomScan is not enabled
2019-09-14 14:52:03 -04:00
toasted-nutbread
7dddcb8dca
Rename type to cause
2019-09-14 14:31:21 -04:00
toasted-nutbread
6d3037f3d6
Remove destructuring from searchAt, containsPoint, docRangeFromPoint
2019-09-14 14:27:25 -04:00
toasted-nutbread
89941d404c
Remove unused variable
2019-09-14 14:11:25 -04:00
toasted-nutbread
721248c821
Remove mouseDownLeft and mouseDownMiddle
...
MouseEvent.buttons can be used instead.
2019-09-14 14:11:06 -04:00
toasted-nutbread
964de775df
Validate contentWindow before focus
2019-09-14 12:02:31 -04:00
toasted-nutbread
304064dae0
Defer creation of communication port until required
2019-09-14 11:58:22 -04:00
toasted-nutbread
bab6a13bfb
Fix nested popups being shown if parent is hidden
2019-09-13 18:12:51 -04:00
Alex Yatskov
ec816e6767
Merge pull request #207 from toasted-nutbread/popup-proxy-writing-mode
...
Add writingMode to PopupProxy* termsShow and kanjiShow
2019-09-12 19:48:22 -07:00
Alex Yatskov
60b32a4a1a
Merge pull request #206 from toasted-nutbread/fix-incorrect-function-name
...
Replace profileCreateDefaultFieldTemplates with optionsFieldTemplates
2019-09-12 19:47:52 -07:00
Alex Yatskov
1fea1184bd
Merge pull request #205 from toasted-nutbread/settings-improvements2
...
Settings improvements part 2
2019-09-12 19:47:37 -07:00
toasted-nutbread
76aa30ceba
Add writingMode to PopupProxy* termsShow and kanjiShow
2019-09-11 21:29:08 -04:00
toasted-nutbread
c38c7fbda1
Replace profileCreateDefaultFieldTemplates with optionsFieldTemplates
2019-09-11 19:56:13 -04:00
toasted-nutbread
84bd9ff93b
Update settings if a different source triggers optionsUpdate
2019-09-10 21:58:53 -04:00
toasted-nutbread
71b700cd22
Add checkbox for options.general.enable
2019-09-10 21:45:43 -04:00
toasted-nutbread
87e513dd77
Fix options reference being changed
2019-09-10 21:44:32 -04:00
toasted-nutbread
1f8c7358cb
Create function for setting up form event listeners
2019-09-10 21:43:52 -04:00
toasted-nutbread
36b39e2f65
Create formWrite function
2019-09-10 21:43:51 -04:00
toasted-nutbread
cab39e89c9
Create section for Popup Content Scanning Options
2019-09-10 21:43:51 -04:00
toasted-nutbread
c4e6d7e3d1
Add utility method for checking if a value is a standard object
2019-09-10 20:09:33 -04:00
toasted-nutbread
05ce350792
Use apiOptionsSave instead of optionsSave
2019-09-10 20:09:33 -04:00
toasted-nutbread
4686a31a0a
Use apiOptionsGet instead of optionsLoad
2019-09-10 20:09:33 -04:00
toasted-nutbread
99cec1d23f
Change how formRead works
...
The function now modifies values in-place.
2019-09-10 20:09:33 -04:00
toasted-nutbread
8175f80183
Remove calls to apiOptionsGetSync
...
Use apiOptionsGet everywhere to ensure options is initialized.
2019-09-10 20:09:33 -04:00
toasted-nutbread
1b2a1e50eb
Add getOptions function to backend
2019-09-10 20:09:33 -04:00
toasted-nutbread
bc8793eb56
Add a context object for all calls to fetch options
2019-09-10 20:09:33 -04:00
toasted-nutbread
99ca60d4c1
Ensure both Popup and PopupProxy have valid depth
2019-09-10 20:09:33 -04:00
toasted-nutbread
aae971a09e
Pass options directly to translator.findTerms*
2019-09-10 20:09:33 -04:00
toasted-nutbread
91bc31d758
Change how options updates are handled on the frontend
...
Only an 'optionsUpdate' signal is now sent to the frontend with empty data. The frontend then responds by performing apiOptionsGet to update the options. This makes it so that there is only a single function which is responsible for requesting options from the backend.
2019-09-10 20:09:33 -04:00