mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Fix-update Faz.net (layout)
This commit is contained in:
parent
5967eb7b2e
commit
804ebbbf49
2 changed files with 11 additions and 9 deletions
|
@ -259,7 +259,9 @@ When coming across a paywall click the cookie icon to remove the cookies then re
|
|||
_*May not always succeed_
|
||||
|
||||
### New site requests
|
||||
You can submit a request for a new website [here](https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/issues?status=new&status=open). Please read the following instructions and share your results for a quicker process. Remember to check the [previous requests](https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/issues) before asking for a new website.
|
||||
You can submit a request for a new website [here](https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/issues?status=new&status=open).
|
||||
Please read the following instructions and share your results for a quicker process.
|
||||
Remember to check the [previous requests](https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/issues) before asking for a new website.
|
||||
1. Visit an article on the site you want to bypass the paywall for and copy the article title.
|
||||
2. Open up a new incognito window (Ctrl+Shift+N) and paste the article title into Google.
|
||||
3. Click on the same article from the Google search results page. Or you can:
|
||||
|
|
|
@ -536,7 +536,7 @@ else if (matchDomain('faz.net')) {
|
|||
|
||||
const breakText = (str) => {
|
||||
str = str.replace(/(?:^|[\w\"\“])(\.|\?|!)(?=[A-Za-zÀ-ÿ\„]{2,})/gm, "$&\n\n");
|
||||
str = str.replace(/([a-z\"\“])(?=[A-Z])/gm, "$&\n\n");
|
||||
str = str.replace(/([a-z\"\“])(?=[A-Z](?=[A-Za-zÀ-ÿ]+))/gm, "$&\n\n");
|
||||
// exceptions: names with alternating lower/uppercase (no general fix)
|
||||
str = str.replace(/Glaxo\n\nSmith\n\nKline/g, "GlaxoSmithKline");
|
||||
str = str.replace(/If\n\nSG/g, "IfSG");
|
||||
|
|
Loading…
Reference in a new issue