Created
November 7, 2024 09:47
-
-
Save andxbes/c0703f0dd174d67011bf699ab50fdaa5 to your computer and use it in GitHub Desktop.
Check Advada Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Check advada theme | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-11-07 | |
// @description try to take over the world! | |
// @author You | |
// @match https://* | |
// @match http://* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let styleElement = document.querySelector('head #magic-variables-for-css-inline-css'); | |
if(styleElement && styleElement.innerText?.includes('--THEME_URI')){ | |
console.info('It is ADVADA THEME'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment