mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix-update WSJ (pro)
This commit is contained in:
parent
b7b4d8e4fa
commit
ba75398773
@ -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 New Issue
Block a user