Last active
June 24, 2024 08:16
-
-
Save prigaux/025961c32ae0378c3d1ac7bc1cdbe5c4 to your computer and use it in GitHub Desktop.
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
| /// PRI_assistance_dsiun.js | |
| if (window.parent === window) { | |
| console.log("PRI_assistance_dsiun.js"); | |
| } | |
| /// PRI_itopshib.js | |
| console.log("PRI_itopshib.js"); | |
| if (document.location.pathname.startsWith('/itop/')) { | |
| document.location.pathname = document.location.pathname.replace('/itop/', '/itopshib/') | |
| } | |
| /// PRI_pcn.js | |
| console.log("PRI_pcn") | |
| if (document.location.pathname === '/auth/login') { | |
| setTimeout(() => document.querySelector('form').submit(), 2000) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment