mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:50:43 +00:00
Admiral (#3522)
## Description: Use admiral to detect adblock and ask users to disable <img width="1120" height="541" alt="Screenshot 2026-04-06 at 11 46 09 AM" src="https://github.com/user-attachments/assets/0796b4c4-1e50-475f-b8b7-b95b9ef0f25b" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [ ] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
This commit is contained in:
+61
@@ -423,6 +423,67 @@
|
||||
async
|
||||
src="//cdn.intergient.com/1025558/75940/ramp.js"
|
||||
></script>
|
||||
<!-- Admiral Script-->
|
||||
<script type="text/javascript">
|
||||
!(function (Y, _name) {
|
||||
(Y[_name] =
|
||||
Y[_name] ||
|
||||
function D() {
|
||||
(D.q = D.q || []).push(arguments);
|
||||
}),
|
||||
(Y[_name].v = Y[_name].v || 2),
|
||||
(Y[_name].s = "1");
|
||||
})(window, decodeURI(decodeURI("%2561%25%36%34mir%61%25%36c")));
|
||||
!(function (Y, D, A, U) {
|
||||
(A = Y.createElement(D)),
|
||||
(Y = Y.getElementsByTagName(D)[0]),
|
||||
(A.async = 1),
|
||||
(A.src = "https://introjava.com/assets/js/gfjjtpm64er_5.v1.js"),
|
||||
(U = 0) && U(A),
|
||||
Y.parentNode.insertBefore(A, Y);
|
||||
})(document, "script");
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
!(function (Y, D, A, U, M) {
|
||||
function s(U, M) {
|
||||
try {
|
||||
(s = Y.localStorage),
|
||||
(U =
|
||||
JSON.parse(
|
||||
s[
|
||||
decodeURI(
|
||||
decodeURI("%25%367%256%35%25%37%34I%74%256%35m"),
|
||||
)
|
||||
](A),
|
||||
).lgk || []) &&
|
||||
(M = Y[D].pubads()) &&
|
||||
U.forEach(function (Y) {
|
||||
Y && Y[0] && M.setTargeting(Y[0], Y[1] || "");
|
||||
});
|
||||
} catch (N) {}
|
||||
var s;
|
||||
}
|
||||
try {
|
||||
((M = Y[D] = Y[D] || {}).cmd = M.cmd || []),
|
||||
typeof M.pubads === U
|
||||
? s()
|
||||
: typeof M.cmd.unshift === U
|
||||
? M.cmd.unshift(s)
|
||||
: M.cmd.push(s);
|
||||
} catch (N) {}
|
||||
})(
|
||||
window,
|
||||
decodeURI(decodeURI("%25%36%37%6f%6f%25%36%37%6ce%2574%25%361%67")),
|
||||
"_a" +
|
||||
decodeURI(
|
||||
decodeURI(
|
||||
"%51S%30%32%25%34d%25%37%61g%25%33%33%52%2544%25%345wMj%255%35%253%35%25%34e%25%36a%25%34%32%254%37%25%34%66%25%35%35%255%31%30%2552EY5%255%310%2559%77%25%34fT%2545%257%34%4e%256%61%2563%2530",
|
||||
),
|
||||
),
|
||||
"function",
|
||||
);
|
||||
</script>
|
||||
<script type="text/javascript"></script>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user