Fix naming and ordering

This commit is contained in:
Adam 2020-11-16 21:36:23 -08:00
parent f8675eeaf0
commit 9523440d22
3 changed files with 17 additions and 7 deletions

View File

@ -28,12 +28,12 @@
[Adweek](https://www.adweek.com)\ [Adweek](https://www.adweek.com)\
[Algemeen Dagblad](https://www.ad.nl)\ [Algemeen Dagblad](https://www.ad.nl)\
[American Banker](https://www.americanbanker.com)\ [American Banker](https://www.americanbanker.com)\
[BN De Stem](https://www.bndestem.nl)\
[Baltimore Sun](https://www.baltimoresun.com)\ [Baltimore Sun](https://www.baltimoresun.com)\
[Barron's](https://www.barrons.com)\ [Barron's](https://www.barrons.com)\
[Bloomberg Quint](https://www.bloombergquint.com)\ [Bloomberg Quint](https://www.bloombergquint.com)\
[Bloomberg](https://www.bloomberg.com)\ [Bloomberg](https://www.bloomberg.com)\
[Brabands Dagblad (BD)](https://www.bd.nl)\ [BN De Stem](https://www.bndestem.nl)\
[Brabants Dagblad](https://www.bd.nl)\
[Brisbane Times](https://www.brisbanetimes.com.au)\ [Brisbane Times](https://www.brisbanetimes.com.au)\
[Business Insider](https://www.businessinsider.com)\ [Business Insider](https://www.businessinsider.com)\
[Caixin](https://www.caixinglobal.com)\ [Caixin](https://www.caixinglobal.com)\
@ -210,7 +210,7 @@ Only large or major sites will be considered. Usually premium articles cannot be
### Troubleshooting ### Troubleshooting
* This extension works best alongside uBlock Origin [for Google Chrome](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm) or [for Mozilla Firefox](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/). * This extension works best alongside uBlock Origin [for Google Chrome](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm) or [for Mozilla Firefox](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/).
* If a site doesn't work, try turning off uBlock and refreshing. * If a site doesn't work, try turning off uBlock and refreshing.
* Make sure the site is checked under Options (on macOS sometimes the sites get unselected). * Try clearing [cookies](https://chrome.google.com/webstore/detail/cookie-remover/kcgpggonjhmeaejebeoeomdlohicfhce).
* Make sure you're running the latest version of Bypass Paywalls. * Make sure you're running the latest version of Bypass Paywalls.
* If a site is having problems try unchecking "\*General Paywall Bypass\*" in Options. * If a site is having problems try unchecking "\*General Paywall Bypass\*" in Options.
* If none of these work, you can submit an issue [here](https://github.com/iamadamdev/bypass-paywalls-chrome/issues/new/choose). * If none of these work, you can submit an issue [here](https://github.com/iamadamdev/bypass-paywalls-chrome/issues/new/choose).
@ -224,4 +224,14 @@ PRs are welcome.
### Show your support ### Show your support
* Follow me on Twitter [@iamadamdev](https://twitter.com/iamadamdev) for updates. * Follow me on Twitter [@iamadamdev](https://twitter.com/iamadamdev) for updates.
* I am not asking for donations or anything like that, all I ask is that you star this repo. * I do not ask for donations, all I ask is that you star this repo.
### Disclaimer
* This software is provided for educational purposes only.
* This software is provided "AS IS", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. in no event shall the
authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising from,
out of or in connection with the software or the use or other dealings in the
software.

View File

@ -146,7 +146,7 @@ const removeCookiesSelectDrop = {
'humo.be': ['TID_ID'], 'humo.be': ['TID_ID'],
'nrc.nl': ['counter'], 'nrc.nl': ['counter'],
'pzc.nl': ['temptationTrackingId'], 'pzc.nl': ['temptationTrackingId'],
'tubantia.nl': ['temptationTrackingId'], 'tubantia.nl': ['temptationTrackingId']
}; };
// Override User-Agent with Googlebot // Override User-Agent with Googlebot
@ -284,7 +284,7 @@ extensionApi.tabs.onActivated.addListener(function (activeInfo) {
}); });
function updateBadge (activeTab) { function updateBadge (activeTab) {
if (!activeTab) { return; } if (extensionApi.runtime.lastError || !activeTab) { return; }
const badgeText = getBadgeText(activeTab.url); const badgeText = getBadgeText(activeTab.url);
extensionApi.browserAction.setBadgeBackgroundColor({ color: 'blue' }); extensionApi.browserAction.setBadgeBackgroundColor({ color: 'blue' });
extensionApi.browserAction.setBadgeText({ text: badgeText }); extensionApi.browserAction.setBadgeText({ text: badgeText });

View File

@ -8,7 +8,7 @@ const defaultSites = {
'Bloomberg': 'bloomberg.com', 'Bloomberg': 'bloomberg.com',
'Bloomberg Quint (free articles only)': 'bloombergquint.com', 'Bloomberg Quint (free articles only)': 'bloombergquint.com',
'BN De Stem': 'bndestem.nl', 'BN De Stem': 'bndestem.nl',
'Brabands Dagblad (BD)': 'bd.nl', 'Brabants Dagblad': 'bd.nl',
'Brisbane Times': 'brisbanetimes.com.au', 'Brisbane Times': 'brisbanetimes.com.au',
'Business Insider': 'businessinsider.com', 'Business Insider': 'businessinsider.com',
'Caixin': 'caixinglobal.com', 'Caixin': 'caixinglobal.com',