Skip to content

Commit 4106d62

Browse files
author
github-actions
committed
Release from Ophirofox v2.5.250607.1756
1 parent ca1130d commit 4106d62

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

ophirofox.user.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 2.5.250603.2006
2+
// @version 2.5.250607.1756
33
// @author Write
44
// @name OphirofoxScript
55
// @grant GM.getValue
@@ -2513,8 +2513,16 @@
25132513
return false;
25142514
};
25152515

2516+
const isFreeOnAccountCreation = () => {
2517+
const element = document.querySelector('div[class*="registerwall-wrapper"]');
2518+
if (element) {
2519+
return true;
2520+
}
2521+
return false;
2522+
};
2523+
25162524
async function onLoad() {
2517-
if (!isPremium()) return;
2525+
if (!isPremium() && !isFreeOnAccountCreation()) return;
25182526
document.querySelector("h1").after(await ophirofoxEuropresseLink(extractKeywords()));
25192527
}
25202528

0 commit comments

Comments
 (0)