UNPKG

jsobx

Version:

a simple js obfuscator

57 lines (36 loc) 983 B
// dom prop, methods document.querySelector('.test').textContent = 'hello'; element['innerHTML']; element.outerHTML; element['outerHTML']; const k = 'log'; console[k](); console.log(element.outerHTML); console.log(element['innerHTML']); console.log(element.outerHTML, "abc"); console['log'](element.checked); var z = element.currentTarget; element.style.display = 'none'; element.checked = true; Z(D.body, "visibility") == "hidden"; const text1 = this.textInput.value.slice(this.textInput.selectionEnd); console.log(text2.selectionEnd); (0, w.$)(n.textContent); for (var key in source) { target[key] = source[key]; } n.preventDefault(); n.stopImmediatePropagation(); // regex, string const fs = require('./test/fs'); const b = /.*?/; const c = { a: /.+?/, b: 'test', c: 'test', d: /.*?/, }; const text = 'hello'; ["load", "error", "lazyincluded"]; a("test", 1); throw new TypeError(' <a href="https://abc.com/">text here</a> test');