mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWebView: Split about:settings into modules
The about:settings page has gotten beefy enough that it is a bit of a paint to manage in a single HTML file. This patch breaks the settings into several modules to make this page easier to mantain. Modules have some nice benefits over classic scripts, such as enabling strict mode by default, and allowing each module to function without polluting the global object.
This commit is contained in:
parent
6a6c56aabe
commit
234c07adc9
Notes:
github-actions[bot]
2025-04-23 23:59:53 +00:00
Author: https://github.com/trflynn89
Commit: 234c07adc9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4445
8 changed files with 694 additions and 616 deletions
|
@ -76,6 +76,11 @@ list(TRANSFORM ABOUT_PAGES PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/ladybird/abo
|
|||
|
||||
set(ABOUT_SETTINGS_RESOURCES
|
||||
languages.js
|
||||
network.js
|
||||
new-tab-page.js
|
||||
permissions.js
|
||||
privacy.js
|
||||
search.js
|
||||
)
|
||||
list(TRANSFORM ABOUT_SETTINGS_RESOURCES PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/ladybird/about-pages/settings/")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue