mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-13 18:27:35 +01:00
749b6f186d
Chrome has getManifest(), Safari doesn't have anything, Firefox has an asynchronous API... So, instead of using extension APIs, store the common informations (extension name, version, homepage url) in a file (vapi-appinfo.js), which can be included when it's needed (its data will be available at vAPI.app.____). The file's content is updated each time the extension is being built, so it shouldn't be modified manually.
66 lines
2.1 KiB
HTML
66 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" href="css/common.css" type="text/css">
|
|
<link rel="stylesheet" href="css/popup.css" type="text/css">
|
|
<title>µBlock</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h4 title="popupTipDashboard">v<span id="version"></span></h4>
|
|
<div>
|
|
<p id="switch" data-i18n-tip="popupPowerSwitchInfo"><span class="fa"></span></p>
|
|
<p id="switch-hint"></p>
|
|
<p style="font-size: 16px;" data-i18n="popupBlockedRequestPrompt"></p>
|
|
<p id="stats">
|
|
<span data-i18n="popupBlockedOnThisPagePrompt"></span> 
|
|
<span id="gotoPick" class="fa tool" data-i18n-tip="popupTipPicker" data-tip-anchor="top"></span> 
|
|
<span id="gotoLog" class="fa tool" data-i18n-tip="popupTipLog" data-tip-anchor="top"></span>
|
|
</p>
|
|
<p id="page-blocked">?</p>
|
|
<p id="stats" data-i18n="popupBlockedSinceInstallPrompt"></p>
|
|
<p id="total-blocked">?</p>
|
|
</div>
|
|
|
|
<div id="dynamicFilteringToggler" class="fa on">
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<a href="https://github.com/gorhill/uBlock/wiki/Dynamic-filtering" target="_blank">?</a>
|
|
</div>
|
|
|
|
<div id="dynamicFilteringContainer">
|
|
<div class="dynamicFiltering local" data-scope=".">
|
|
<div data-first-party data-type="inline-script"></div>
|
|
<div data-first-party data-type="script"></div>
|
|
<div data-type="script"></div>
|
|
<div data-first-party data-type="sub_frame"></div>
|
|
<div data-type="sub_frame"></div>
|
|
<div class="label"><script></div>
|
|
<div class="label"><iframe></div>
|
|
</div>
|
|
<div class="dynamicFiltering global" data-scope="/">
|
|
<div data-first-party data-type="inline-script"></div>
|
|
<div data-first-party data-type="script"></div>
|
|
<div data-type="script"></div>
|
|
<div data-first-party data-type="sub_frame"></div>
|
|
<div data-type="sub_frame"></div>
|
|
<div class="label"><script></div>
|
|
<div class="label"><iframe></div>
|
|
</div>
|
|
</div>
|
|
<script src="js/js-loader.js" data-jsList="
|
|
js/vapi-common.js
|
|
js/vapi-client.js
|
|
js/vapi-appinfo.js
|
|
js/udom.js
|
|
js/i18n.js
|
|
js/popup.js
|
|
"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|