-
-
Notifications
You must be signed in to change notification settings - Fork 922
extension: Add per-site configuration settings #21754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
f6fd204
to
d823d8f
Compare
I know it can be a little unclear, so in case you haven't pieced together the JS logic yet, working in reverse order, the final step for creating the config is here: ruffle/web/packages/extension/src/ruffle.ts Lines 24 to 34 in 6e6cda0
Before that, message.config is sent here: ruffle/web/packages/extension/src/content.ts Lines 191 to 200 in 6e6cda0
Explicit options uses this function: ruffle/web/packages/extension/src/utils.ts Lines 91 to 103 in 6e6cda0
And ruffle/web/packages/extension/src/utils.ts Lines 81 to 86 in 6e6cda0
The options are instantly set on change here: ruffle/web/packages/extension/src/common.ts Lines 172 to 176 in f46c744
|
4aa4745
to
4e53513
Compare
584ad36
to
e19cf15
Compare
1a265bb
to
7171b73
Compare
Frontend / UI
options.js
Backend / Storage
utils.storage
)Other
Preview