Go Back   Exetools > General > General Discussion


Thread Tools Display Modes
Old 09-08-2021, 13:53
Mendax47's Avatar
Mendax47 Mendax47 is offline
Join Date: Jun 2016
Location: Earth..
Posts: 182
Rept. Given: 18
Rept. Rcvd 8 Times in 7 Posts
Thanks Given: 557
Thanks Rcvd at 234 Times in 90 Posts
Mendax47 Reputation: 8
Question anyone know how to debug chrome extention independently (not using google chrome)

I am recently doing some experiments with Grammarly google chrome extension. you can bypass the premium popup because this popup is not server-side. at the first time login, it receives some JSON which includes your subscription plan, and use it to restrict your membership.. but the main problem is I can't find the exact main root when it first store the JSON object as a javascript object in the window object and read it from there... so I need a good debugger.
Reply With Quote
Old 09-09-2021, 19:49
DominicCummings DominicCummings is offline
Join Date: Mar 2021
Posts: 13
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 26
Thanks Rcvd at 16 Times in 7 Posts
DominicCummings Reputation: 0
Why do you have to be not in google chrome? What happens if you toggle on debug mode -- https://developer.chrome.com/docs/extensions/mv3/tut_debugging/? If it detects dev tools there are workarounds (for anti-anti-debugging). What about Chrome's extension source viewer? (link: https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin)

I understand that to use it you:

• Click on the yellow CRX button, and choose "Download"
• Extract the zip file.
• Read the source code, and change it.
• Visit chrome://extensions/
•  Enable Developer mode, by activating the switch in the upper-right corner.
•  Click on the "Load unpacked extension" button.
•  Select the folder of your extension (there should be a manifest.json).
• Confirm, and load the modded one. That should let you get by anti-anti-debug if present.
Reply With Quote
The Following User Says Thank You to DominicCummings For This Useful Post:
niculaita (09-11-2021)
Old 09-14-2021, 19:23
sh3dow sh3dow is offline
Join Date: Oct 2014
Posts: 138
Rept. Given: 109
Rept. Rcvd 79 Times in 24 Posts
Thanks Given: 431
Thanks Rcvd at 169 Times in 60 Posts
sh3dow Reputation: 79
Assuming you don't want a standalone debugger [I don't think there is one for debugging chrome extensions without using chrome] but a debugger that leverage chrome to debug the JavaScript code.

there is webstorm from jetbrains which has a very good debugger that leverage any Chromium-based browsers to debug javascript

there is also Chrome Debugging for VS Code

Also you can arm your chrome devtools with extensions to enhance your experience and improve chrome developer tools

Last edited by sh3dow; 09-14-2021 at 19:54.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google guide xtiaoshi General Discussion 0 07-03-2006 16:37
Fun with Google Searches tarugok General Discussion 1 08-14-2004 03:49

All times are GMT +8. The time now is 12:29.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2022 )