mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 10:27:48 +01:00
7e28649506
Import custom sites only works from add-ons screen (via icon/popup gives CSP-error). Plus some cosmetic updates in options.
60 lines
1.6 KiB
HTML
60 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Bypass Paywalls Clean Options Custom</title>
|
|
<style>
|
|
#bypass_sites label, #add_site label {
|
|
display: block;
|
|
}
|
|
body {
|
|
width:450px;
|
|
height:700px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Options Custom</h1>
|
|
<div>
|
|
Add new site: enter unique title/domain (without www.)<br/>
|
|
& options for googlebot/block javascript (only on (sub)domain).<br/>
|
|
Enable new site in <a href="options.html">options</a> (cookies removed by default).
|
|
<br/><br/>
|
|
</div>
|
|
<div id='add_site'></div>
|
|
<br/>
|
|
<span style='float:left;padding-bottom:20px'>
|
|
<button id="add">Add</button>
|
|
</span>
|
|
<div style="clear:both;"></div>
|
|
<div>
|
|
<div>
|
|
List of custom sites<br/>
|
|
Disable deleted sites in <a href="options.html">options</a>.
|
|
<br/><br/>
|
|
</div>
|
|
<div id='custom_sites'></div>
|
|
<br/>
|
|
<span style='float:left;padding-bottom:20px'>
|
|
<button id="delete">Delete</button>
|
|
</span>
|
|
<div style="clear:both;"></div>
|
|
<div>
|
|
Current custom sites (edit textarea & save).<br/>
|
|
Saves only when valid json-text; clear & save to reset.<br/>
|
|
Also possible to export/import json-text for new installation.
|
|
</div>
|
|
<br/>
|
|
<div id='bypass_sites'></div>
|
|
<br/>
|
|
<div id="status"></div>
|
|
<div id="error"></div>
|
|
<span style='float:left;padding-bottom:20px'>
|
|
<button id="save">Save</button>
|
|
<button id="export">Export</button>
|
|
<button id="import">Import</button>
|
|
<input type="file" id="importInput" accept=".txt" style="display:none"/>
|
|
</span>
|
|
<script src="options_custom.js"></script>
|
|
</body>
|
|
</html>
|