implement funke rot 13 decryption

This commit is contained in:
tobimori 2020-04-04 13:39:54 +02:00
parent 540c2f13ce
commit e71bf645a9
2 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@
//
const deobfuscateFUNKE = (s) => {
return s.replace(/[A-ZÅÝÀµ#²:`^'´\\,{[/.÷;=?0)*\-]/gi, c =>
'ZABCDEFGHIJKLMNOPQRSTUVWXYÄÜẞZzabcdefghijklmnopqrstuvwxyäüößz,.-:<>/()!"=[;9]&_'[
'ABCDEFGHIJKLMNOPQRSTUVWXYZÅÝÀ[abcdefghijklmnopqrstuvwxyzåý÷à{-/.;=?0)*²#µ\\´:^\'`'.indexOf(c)]);
return s.replace(/[0-9A-ZÅÝÀµ#²:`^'´\\,{[/.÷;=?)*\-]/gi, c =>
'012345678ZABCDEFGHIJKLMNOPQRSTUVWXYÄÜẞZzabcdefghijklmnopqrstuvwxyäüößz,.-:<>/()!"=[;9]&_'[
'123456789ABCDEFGHIJKLMNOPQRSTUVWXYZÅÝÀ[abcdefghijklmnopqrstuvwxyzåý÷à{-/.;=?0)*²#µ\\´:^\'`'.indexOf(c)]);
};
extapi.storage.sync.get({ sitesDisabled: [] },

View File

@ -165,7 +165,7 @@
"sites.js",
"settingslib.js",
"lib.js",
"components/funke/rot13.js"
"components/funke-rot13.js"
],
"run_at": "document_idle"
}