From f294d75c67813d6c8b88d71998039aff41e2b0d4 Mon Sep 17 00:00:00 2001 From: Andrew S Date: Wed, 6 Sep 2023 19:18:35 -0500 Subject: [PATCH] V1.0.3 Firefox requires id for signing --- LICENSE.md | 24 ++++++++++++++++++++++++ README.md | 9 +++++++-- anti-anti-debug.js | 9 +-------- manifest.json | 10 ++++++++-- 4 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..3c577b0 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to \ No newline at end of file diff --git a/README.md b/README.md index 9789396..b172ab2 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,12 @@ Allows you to use developer tools on websites which utilize anti-debug technique 2. getter traps 3. Console.clear() spam -## What it does: +## What it does 1. console.clear and console.table are set to do nothing. 2. console.log is overridden to filter DOM elements, functions, and objects with custom getters 3. Functions containing debugger calls are removed 4. setInterval checks for anti debugging scripts -5. ~~`resize` event is removed~~ (Only prints for now) Please report any issues to the Github: https://github.com/Andrews54757/Anti-Anti-Debug/issues @@ -21,3 +20,9 @@ https://github.com/Andrews54757/Anti-Anti-Debug/issues ### This extension may break some websites which rely on certain specific logging tools. It is recommended to enable the extension only when needed. Debug icons created by Alfian Dwi Hartanto - Flaticon + +## Troubleshooting Tips + +1. Open devtools in new window, otherwise sites may detect using viewport width/height information +2. Disable source maps in devtools. Some sites will detect when source maps are automatically loaded through the devtools +3. Open devtools first, and then navigate to the site \ No newline at end of file diff --git a/anti-anti-debug.js b/anti-anti-debug.js index 5f85fec..92ce0a0 100644 --- a/anti-anti-debug.js +++ b/anti-anti-debug.js @@ -155,14 +155,7 @@ } return originals.setInterval.apply(window, args); } - - window.addEventListener = function(...args) { - if (args[0] === "resize") { - originals.log("Prevented resize event listener"); - } - return originals.addEventListener.apply(window, args); - } - + document.createElement = function (el, o) { var string = el.toString(); var element = originals.createElement.apply(document, [string, o]); diff --git a/manifest.json b/manifest.json index d61a783..639d5a4 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Anti Anti Debug", "description": "Be able to use developer tools again", - "version": "1.0.2", + "version": "1.0.3", "author": "Andrew S", "icons": { "16": "debug-16.png", @@ -34,5 +34,11 @@ "" ] } - ] + ], + "browser_specific_settings": { + "gecko": { + "id": "anti-anti-debug@andrews", + "strict_min_version": "109.0" + } + } } \ No newline at end of file