From 88b8191ac2946c02ef8f9a73cd2c4050b1f02f61 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 6 Dec 2020 20:37:19 -0500 Subject: Settings page v2 (#606) * Initial setup of settings page v2 * Add security options * Add layout-aware scanning option * Fix style * Set up simple setting bindings * Convert colors to variables * Refactor, remove unused * Set up variables for some size values * Mark expandable entries with a pointer cursor * Add scroll top link * Update sidebar styles * Update icon button styles * Fix padding when settings are wrapped * Update shadow styles * Use animation timings * Add support for being able to open the sidebar on small-screen/mobile devices * Update styles and preview sidebar * Add ability to expand the preview sidebar * Scroll to initial target only after advanced setting is set * Fix rebase issues * Update z-index of modal * Use Modal for testing * Set up modal controller * Update button styles * Update modal design * Update styling of multi-part inputs * Fix button styles * Create SettingsDisplayController * Update scanning inputs * Use nested option * Update animation timings * Update modals to be display:none when not open * Update included scripts * Move modal link/input control to SettingsDisplayController * Simplify event handlers * Add audio sources options modal * Allow certain nodes to be selected on click * Implement top link * Add environment-specific display styles * Implement storage info * Update modal controller * Remove TODO * Remove unnecessary
* Add primary dictionary option under result grouping option * Simplify transform * Update styles for short inputs * Add toggleable status footer * Update modal styles * Fix more-toggle elements sometimes affecting wrong targets * Add selector-observer.js reference * Add support for dynamically-generated more-toggle elements * Rename result grouping modes and add descriptions * Update icon button style * Add a no-more-only class * Use absolute URLs * Add kebab-menu icon button * Update text styles * Add disabled styles * Update toggle styles to support default pointer when disabled * Update modal.js reference * Disable box shadow for disabled buttons * Add support for menus, use menus for audio source removal * Disable pointer events when a modal is closing * Update the escape key to close menus before closing modals * Add support for dictionary modals * Remove debug log * Remove redundant spinner * Update nested option visibility * Add support for import/export/reset * Update URL * Reorganize * Add comments * Fix toggle highlight not working * Add radio style * Fix dictionary separator line * Add mouse icon * Add support for an icon button container with input height * Update profile selects * Add support for editing profiles and profile conditions * Enable overflow scrolling for popup menus * Add support for input suffix buttons * Style updates * Implement Anki card controls * Improve dictionary information * Punctuation * Add support for Anki card templates * Add support for using the tab key * Add support for custom CSS modal * Add support for simple scanning inputs * Simplify * Don't exit modals/menus when pressing escape while an input is focused * Add checkbox styles * Set up advanced scanning inpugs * Reorganize * Add outer theme option * Add controller for nested popups * Update scannings inputs * Set up settings for touch/pen inputs * Add modal for input prevention * Update label styles * Options updates * Update duplicate scope options * Only show quality when format is JPEG * Add auto-scaling options * Update navigation options * Rearrange options * Fix icon * Add group for popup-size * Update styles for inputs * Update description * Update appearance of checkboxes, toggles, and radios * Add more advanced popup options * Add debug option * Add pitch accent display options * Update input fields * Add conjugation * Update guide link * Update and simplify primary/secondary dictionaries * Update link * Un-nest a setting * Update wordings * Use consistent styling for lists * Fix custom CSS modal fade affecting the layout * Fix z-index of the top link * Disable word wrap on some text * Disable highlight color * Update FAB positioning and sizing * Update button spacing * Remove preview frame controller code * Remove welcome.html * Update seconds units * Use all appearance styles * Add option for anki.checkForDuplicates * Rearrange options * Fix redundant margin assignment * Move scanning.enableOnSearchPage option such that it is not nested * Organize/update options --- ext/bg/settings2.html | 2411 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2411 insertions(+) create mode 100644 ext/bg/settings2.html (limited to 'ext/bg/settings2.html') diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html new file mode 100644 index 00000000..dcf99bbb --- /dev/null +++ b/ext/bg/settings2.html @@ -0,0 +1,2411 @@ + + + + + + Yomichan Settings v2 + + + + + + + + + + + + +
+ +
+ + + +

Yomichan Settings

+ +

Profile

+
+
+
+
Default profile
+
Switch the primary profile that is used for scanning.
+
+
+ +
+
+
+
+
Editing profile
+
Change which profile is being modified on this page.
+
+
+ +
+
+
+
+
Adjust profiles
+
+
+ +
+
+
+ +

Dictionaries (# installed)

+
+
+
+
Configure installed and enabled dictionaries
+
+
+ +
+
+
+
+
+
Storage
+
+ + Yomichan is using an indeterminate amount of storage. + + + +
+
+
+ +
+
+
+
+
+
+
Persistent storage
+
+ Enable to help prevent the browser from unexpectedly clearing the database. + More… +
+
+
+ +
+
+ +
+
+ +

General

+
+
+
+
Enable content scanning
+
+
+ +
+
+
+
+
Show the welcome guide on browser startup
+
+
+ +
+
+
+
+
+
Result grouping mode
+
+ Change how related results are grouped. + More... +
+
+
+ +
+
+ + +
+
+
+
Maximum number of results
+
Adjust the maximum number of results shown for lookups.
+
+
+ +
+
+
+ + +
+
+
+
Allow scanning search page content
+
Text on the search page can be scanned for definitions, which will open a popup.
+
+
+ +
+
+
+
+
+
Allow scanning popup content
+
Text inside of popups can be scanned for definitions, which will open a new popup.
+
+
+ +
+
+ +
+
+
+
Search terms when clicking text from the results list
+
+
+ +
+
+
+
+
+
+ Show iframe popups in the root frame + (?) +
+
+
+ +
+
+ +
+
+
+
+
+ Use a native browser window instead of an embedded popup + (?) +
+
+
+ +
+
+ +
+
+
+
+
+ Open a native browser window when copying Japanese text + (?) +
+
+
+ +
+
+ +
+
+ + +
+
+
+
Theme
+
Adjust the style of the popup.
+
+
+
+
+
Body
+ +
+
+
Shadow
+ +
+
+
+
+
+
+
Glossary layout
+
Configure how term glossaries are displayed.
+
+
+ +
+
+
+
+
Compact tags
+
Show fewer repeated tags for term glossaries.
+
+
+ +
+
+
+
+
Show tags for expressions and their readings
+
These tags can be scanned if the options for popup content scanning are enabled.
+
+
+ +
+
+
+
+
Show debug information
+
A link to log debugging information will be shown in the search results.
+
+
+ +
+
+
+
+
+
+ Pitch accent display styles + (?) +
+
+
+
+ + + +
+
+
+ +
+
+
+
Custom CSS
+
+
+ +
+
+
+ + +
+
+
+
+
Display mode
+
+ Change the layout of the popup. + More… +
+
+
+ +
+
+ +
+
+
+
+
Scale
+
Control the scaling factor of the popup.
+
+
+ +
+
+
+
+
+
+
+ Auto-scale + (?) +
+
+
+
+ + +
+
+
+ +
+
+
+
+
+
Size
+
Control the size of the popup, in pixels.
+
+
+
+
+
Width
+ +
+
+
Height
+ +
+
+
+
+
+
+
Horizontal text positioning
+
Change where the popup is positioned relative to horizontal text.
+
+
+ +
+
+
+
+
Vertical text positioning
+
Change where the popup is positioned relative to vertical text.
+
+
+ +
+
+
+
+
Horizontal text offset
+
Change the distance the popup is placed relative to horizontal text.
+
+
+
+
+
x
+ +
+
+
y
+ +
+
+
+
+
+
+
Vertical text offset
+
Change the distance the popup is placed relative to vertical text.
+
+
+
+
+
x
+ +
+
+
y
+ +
+
+
+
+
+ +

Audio

+
+
+
+
Enable audio playback for terms
+
Show a clickable speaker icon next to search results.
+
+
+ +
+
+
+
+
Auto-play search result audio
+
The audio for the first result will be played automatically.
+
+
+ +
+
+
+
+
Audio volume
+
Adjust the volume audio is played at, in percent.
+
+
+ +
+
+
+
+
Audio playback sources
+
+
+ +
+
+
+ +

Scanning

+
+
+
+
+
Scan modifier key
+
+ Hold a key while moving the cursor to scan text. + More… +
+
+
+ +
+
+ +
+
+
+
Scan using middle mouse button
+
Hold the middle mouse button while moving the cursor to scan text.
+
+
+ +
+
+
+
+
Configure advanced scanning inputs (# defined)
+
+
+ +
+
+
+
+
+
+ Support inputs for devices with touch screens + (?) +
+
+
+
+ + +
+
+
+ +
+
+
+
+
Auto-hide search popup
+
When no key or button is required for scanning, the popup will hide automatically.
+
+
+ +
+
+ +
+
+
+
Scan delay (in milliseconds)
+
When no key or button is required for scanning, the delay before scanning occurs.
+
+
+ +
+
+
+
+
Select matched text
+
+
+ +
+
+
+
+
Search text with non-Japanese characters
+
+
+ +
+
+
+
+
Layout-aware scanning
+
Use webpage styling information to determine where line breaks are likely to be.
+
+
+ +
+
+
+
+
Deep content scanning
+
Enable scanning text that is covered by other layers.
+
+
+ +
+
+
+
+
Text scan length
+
Change how many characters are read when scanning for terms.
+
+
+ +
+
+
+
+
Configure input action prevention
+
+
+ +
+
+
+ +
+
+

Text Parsing

+ +
+ +
+
+
+
+
Parse text using installed dictionaries
+
Words are scanned by automatically advancing in the sentence after a matching word.
+
+
+ +
+
+
+
+
+
Parse text using MeCab
+
+ Requires a native component to be installed that Yomichan will connect to. + More… +
+
+
+ +
+
+ +
+
+
+
Show space between parsed words
+
+
+ +
+
+
+
+
Reading mode
+
Change what type of furigana is displayed for parsed text.
+
+
+ +
+
+
+ +
+
+

Translation

+ +
+ +
+
+
+
+
Convert half width characters to full width
+
ヨミチャン → ヨミチャン
+
+
+ +
+
+
+
+
Convert numeric characters to full width
+
1234 → 1234
+
+
+ +
+
+
+
+
Convert alphabetic characters to hiragana
+
yomichan → よみちゃん
+
+
+ +
+
+
+
+
Convert hiragana to katakana
+
よみちゃん → ヨミチャン
+
+
+ +
+
+
+
+
Convert katakana to hiragana
+
ヨミチャン → よみちゃん
+
+
+ +
+
+
+
+
Collapse emphatic character sequences
+
すっっごーーい → すっごーい / すごい
+
+
+ +
+
+
+ +
+
+

Anki

+ +
+ +
+
+
+
+
Enable Anki integration
+
+
+ +
+
+
+
+
+
AnkiConnect server address
+
+ Change the URL of the AnkiConnect server. + More… +
+
+
+ +
+
+ +
+
+
+
Card tags
+
List of space or comma separated tags to add to the card.
+
+
+ +
+
+
+
+
+
Check for card duplicates
+
When a card is detected as a duplicate, the add buttons will be disabled.
+
+
+ +
+
+ +
+
+
+
Screenshot format
+
Adjust the format and quality of screenshots created for cards.
+
+
+
+ +
+
Format
+ +
+
+
+
+
+
+
+
+ Sentence scanning extent + (?) +
+
+
+ +
+
+ +
+
+
+
Configure Anki card format
+
+
+ +
+
+
+
+
Configure Anki card templates
+
+
+ +
+
+
+ +

Shortcuts

+
+
+
+
+

+ Yomichan includes keyboard shortcuts for some common actions that can be configured + using the web browser's settings. + Instructions on how to access this settings page are listed below for a few browsers. +

+ +

Chrome

+
    +
  • Open the settings page (chrome://settings/)
  • +
  • Click the "Extensions" link in the left sidebar (chrome://extensions/)
  • +
  • Open the left side panel using the hamburger () menu button, then click "Keyboard shortcuts"
  • +
+ +

Firefox

+
    +
  • Open the extensions page (about:addons)
  • +
  • Click the button on the right with the gear icon, then click "Manage Extension Shortcuts"
  • +
+
+
+
+
+ +

Backup

+
+
+
+
+ Yomichan can import and export settings files which can be used to restore settings, share settings across devices, and to help to debug problems. + These files will only contain settings and will not contain dictionaries. + Dictionaries must be imported separately. +
+
+
+
+
+
+
+ + +
+
+ +
+
+ +
+
+
+
+
+ +

Security

+
+
+
+
+
+ Use a secure container around popups + (?) +
+
+
+ +
+
+ +
+
+
+
+
+ Use secure popup frame URL + (?) +
+
+
+ +
+
+ +
+
+ + + +
+
+
+
+ +
+
+ +
+
+
+
+ + + +
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3