-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isn't this trivial to disable? #5
Comments
It depends. For someone targeting your app it could be easier to disable. But for something like AddBlocker it will be imposible to target your DOM |
This is a legit question. |
Thanks, my misunderstanding was that templates were rendered server side. This indeed does make it more difficult to work around. In terms of what I was saying (on the client side) I wasn't suggesting parsing the javascript bundle. Again, this is probably a misunderstanding on my part. I was basically proposing this: <script src="react-armor.js"></script>
<script src="bad-guy.js"></script>
<script src="myapp.js"></script> where bad-guy.js redefines your decorators to return the DOM unmodified. I'm guessing my misunderstanding is going to be that react-armor is bundled into "myapp.js" and therefore this wont work. |
For ads :
gg ;) |
I apologise in advance if I am mistaken, as I have no experience with react. Perhaps there is something I am missing. To me though, it appears as though to a browser extension wishing to manipulate your DOM, this would be trivial to disable.
Couldn't an extension simply inject some Javascript between the declaration of the obfuscation functions and the script in which they are used, simply overriding them to directly return the node unmodified?
The text was updated successfully, but these errors were encountered: