bypass-paywalls-firefox-clean/options/options_custom.html

79 lines
3.4 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
2020-11-05 21:21:41 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bypass Paywalls Clean Options Custom</title>
<style>
#bypass_sites label, #add_site label {
display: block;
}
body {
font-size: 100%;
}
2020-11-05 21:21:41 +00:00
* {
box-sizing: border-box;
}
</style>
</head>
<body>
2020-03-15 09:17:24 +00:00
<h2>Custom Sites</h2>
<div style="width:90%;">
2021-10-17 19:15:00 +00:00
To add a new site, enter an unique title/domain (without www.).<br>
Select options for useragent (like Googlebot), set referer (ignored when Googlebot is set), set random ip-address, block Javascript, block regular expression, unhide text on (or when paywall(selector) redirect to) amp-page and/or load text from json or Google webcache (paywall|article selector).<br>
2021-11-04 17:50:19 +00:00
Custom sites (new) are enabled automatically in <small><button><a href="options.html" style="text-decoration:none;color:inherit">Options</a></button></small> (cookies will be removed by default unless you enable allow_cookies).<br>
If you want to use custom sites (for non-listed sites) enable it in <small><button><a href="optin/opt-in.html" style="text-decoration:none;color:inherit">Opt-in</a></button></small>
<strong>Custom sites enabled: <span id="custom-enabled"></span></strong><br>
You can also just request permissions for the custom sites & post-release added sites (below).<br>
If permission is missing the icon badge will contain a 'C' (or '+C' if you can import the custom site from GitLab).<br>
On Android: to enable custom sites you need the 'custom' add-on version (with access to all sites): <a href="https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean-custom" target="_blank">Bypass Paywalls Clean (custom)</a>
<br><br>
</div>
<div id='add_site'></div>
<br>
<div id="status_add"></div>
<span style='float:left;padding-bottom:5px'>
<button id="add">Add</button>
2020-03-15 09:17:24 +00:00
</span>
<div style="clear:both;"></div>
<div>
2020-03-15 09:17:24 +00:00
<h3>List of custom sites</h3>
* already in default list (double domain)
<br>
</div>
<div id='custom_sites'></div>
<br>
<div id="status_delete"></div>
<span style='float:left;padding-bottom:5px'>
<button id="delete">Delete</button>
2020-08-18 18:19:15 +00:00
<button id="edit">Edit (re-Add)</button>
<button id="perm_request">Request<br>permissions</button>
<button id="perm_remove">Remove<br>permissions</button><br>
permissions granted (for all in custom list + updated): <strong><span id="perm-custom"></span></strong>
2020-03-15 09:17:24 +00:00
</span>
<div style="clear:both;"></div>
<div style="width:90%;">
2020-03-15 09:17:24 +00:00
<h3>Json file</h3>
2020-04-11 17:40:12 +00:00
You can edit/sort the text area and save (only when json-text is valid).
2020-03-15 09:17:24 +00:00
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>
2020-04-11 17:40:12 +00:00
<button id="sort">Sort</button>
<button id="export">Export</button>
<button id="import">Import file</button>
<button id="import_gitlab">Import from GitLab</button>
<input type="file" id="importInput" accept=".txt" style="display:none"/>
2020-03-15 09:17:24 +00:00
<button><a href="options.html" style="text-decoration:none;color:inherit">Options</a></button>
</span>
2020-03-15 09:17:24 +00:00
2021-03-27 07:31:03 +00:00
<script src="../sites.js"></script>
<script src="options_custom.js"></script>
</body>
</html>