# Yomitan Permissions

##

`<all_urls>`
Yomitan requires access to all URLs in order to run scripts to scan text and show the definitions popup, request audio for playback and download, and connect with Anki.
`storage` and `unlimitedStorage`
Yomitan uses storage permissions in order to save extension settings and dictionary data. `unlimitedStorage` is used to help prevent web browsers from unexpectedly deleting dictionary data.
`declarativeNetRequest`

Yomitan uses this permission to ensure certain requests have valid and secure headers. This sometimes involves removing or changing the `Origin` request header, as this can be used to fingerprint browser configuration.

Example: `Origin:`

`scripting`
Yomitan needs to inject content scripts and stylesheets into webpages in order to properly display the search popup.
`contextMenus`
Yomitan adds a context menu interface that lets you look up highlighted words.
`clipboardWrite`
Yomitan supports simulating the `Ctrl+C` (copy to clipboard) keyboard shortcut when a definitions popup is open and focused.
`clipboardRead` (optional)
Yomitan supports automatically opening a search window when text is copied to the clipboard while the browser is running, depending on how certain settings are configured. This allows Yomitan to support scanning text from external applications, provided there is a way to copy text from those applications to the clipboard.
`nativeMessaging` (optional)
Yomitan has the ability to communicate with an optional native messaging component in order to support parsing large blocks of Japanese text using MeCab. The installation of this component is optional and is not included by default.
Allow in private windows (optional)

When enabled, Yomitan is able to scan text and show definitions in private/incognito web browser windows.

This option can be configured from the web browser's extension settings pages.

This option can be configured from the web browser's extension settings pages. From your browser's address bar, go to `about:addons` and navigate to the settings for Yomitan.

Allow access to file URLs (optional)

When enabled, Yomitan is able to scan text and show definitions on local HTML files located using the `file://*` scheme.

This option can be configured from the web browser's extension settings pages.

Persistent storage

Web browsers will sometimes clear stored data if the device is running low on storage space, which can result in the imported dictionaries being deleted unexpectedly. The persistent storage permission tells the browser that the data should not be deleted in those circumstances.

It may not be possible to enable this permission on Firefox for Android.

Chromium-based browsers should not need to enable this setting since the Yomitan extension has the `unlimitedStorage` permission, which should prevent data deletion.[1]

Configure allowed origins…
Allowed Origins
Allow access to all URLs
Additional origins
No additional origins specified.