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).
23 lines
330 B
HTML
23 lines
330 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>µBlock — Asset</title>
|
|
<style>
|
|
#content {
|
|
font: 12px monospace;
|
|
white-space: pre;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="content"></div>
|
|
|
|
<script src="js/js-loader.js" data-jsList="
|
|
js/udom.js
|
|
js/vapi-client.js
|
|
js/asset-viewer.js
|
|
"></script>
|
|
|
|
</body>
|
|
</html>
|