bypass-paywalls-firefox-clean/options_custom.html
magnolia1234 b85af22c6c Block external Javascript for custom sites
Besides scripts on (sub)domain of site.
2020-06-01 18:01:43 +02:00

64 lines
1.9 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:350px;
height:600px;
}
</style>
</head>
<body>
<h2>Custom Sites</h2>
<div style="width:90%;">
To add new site, enter a unique title/domain (without www.) and select options for googlebot/block javascript.
Then enable your new site in <a href="options.html" style="color:black">options</a> (cookies will be removed by default).
<br/><br/>
</div>
<div id='add_site'></div>
<br/>
<div id="status_add"></div>
<span style='float:left;padding-bottom:20px'>
<button id="add">Add</button>
</span>
<div style="clear:both;"></div>
<div>
<h3>List of custom sites</h3>
Disable deleted sites in <a href="options.html" style="color:black">options</a>.
<br/><br/>
</div>
<div id='custom_sites'></div>
<br/>
<div id="status_delete"></div>
<span style='float:left;padding-bottom:20px'>
<button id="delete">Delete</button>
</span>
<div style="clear:both;"></div>
<div style="width:90%;">
<h3>Json file</h3>
You can edit/sort the text area and save (only when json-text is valid).
Clear & save to reset. You can also export/import json-text for new installations.
</div>
<br/>
<div id='bypass_sites'></div>
<br/>
<div id="status"></div>
<div id="error"></div>
<span style='float:left;padding-bottom:50px'>
<button id="save">Save</button>
<button id="sort">Sort</button>
<button id="export">Export</button>
<button id="import">Import</button>
<input type="file" id="importInput" accept=".txt" style="display:none"/>
<button><a href="options.html" style="text-decoration:none;color:inherit">Options</a></button>
</span>
<script src="options_custom.js"></script>
</body>
</html>