mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
... for the sake of portability. When including vapi-common.js in an HTML file, then the body element there will have a "dir" attribute filled with the current locale's direction (ltr or rtl). The following languages are considered right-to-left: ar, he, fa, ps, ur. Everything else is left-to-right. After the "dir" attribute is set, we can decide in CSS which elements should have different styling for rtl languages (e.g., body[dir=rtl] #id).
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>µBlock — Settings</title>
|
|
<link rel="stylesheet" type="text/css" href="css/common.css">
|
|
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
|
|
<style>
|
|
ul {
|
|
list-style-type: none;
|
|
}
|
|
#experimental-enabled {
|
|
margin-top: 1em;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<ul>
|
|
<li><input id="collapse-blocked" type="checkbox"><label data-i18n="settingsCollapseBlockedPrompt" for="collapse-blocked"></label>
|
|
<li><input id="icon-badge" type="checkbox"><label data-i18n="settingsIconBadgePrompt" for="icon-badge"></label>
|
|
<li><input id="context-menu-enabled" type="checkbox"><label data-i18n="settingsContextMenuPrompt" for="context-menu-enabled"></label>
|
|
<li><input id="experimental-enabled" type="checkbox"><label data-i18n="settingsExperimentalPrompt" for="experimental-enabled"></label>
|
|
(<a href="https://github.com/gorhill/uBlock/wiki/Experimental-features" style="font-style:italic">Experimental features</a>)
|
|
</ul>
|
|
|
|
<script src="js/js-loader.js" data-jsList="
|
|
js/vapi-common.js
|
|
js/vapi-client.js
|
|
js/udom.js
|
|
js/i18n.js
|
|
js/dashboard-common.js
|
|
js/settings.js
|
|
"></script>
|
|
|
|
</body>
|
|
</html>
|