mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:47:47 +01:00
Fix-update WSJ (pro)
This commit is contained in:
parent
b7b4d8e4fa
commit
ba75398773
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ else if (matchDomain("wsj.com")) {
|
|||
document.addEventListener('DOMContentLoaded', () => {
|
||||
let url = window.location.href;
|
||||
let snippet = document.querySelector('.snippet-promotion');
|
||||
if (snippet) {
|
||||
let wsj_pro = document.querySelector('meta[name="page.site"][content="wsjpro"]');
|
||||
if (snippet || wsj_pro) {
|
||||
if (!window.location.hash) {
|
||||
if (url.includes('?')) {
|
||||
window.location.href = url.replace('?', '#refreshed?');
|
||||
|
|
Loading…
Reference in a new issue