Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2021, 13:53
Mendax47's Avatar
Mendax47 Mendax47 is offline
Family
 
Join Date: Jun 2016
Location: Earth..
Posts: 206
Rept. Given: 35
Rept. Rcvd 8 Times in 7 Posts
Thanks Given: 685
Thanks Rcvd at 255 Times in 99 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
  #2  
Old 09-09-2021, 19:49
DominicCummings DominicCummings is offline
Friend
 
Join Date: Mar 2021
Posts: 14
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 28
Thanks Rcvd at 17 Times in 8 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)
  #3  
Old 09-14-2021, 19:23
sh3dow sh3dow is offline
Family
 
Join Date: Oct 2014
Posts: 158
Rept. Given: 113
Rept. Rcvd 79 Times in 24 Posts
Thanks Given: 458
Thanks Rcvd at 202 Times in 75 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
https://www.jetbrains.com/help/webstorm/debugging-javascript-in-chrome.html
https://blog.jetbrains.com/webstorm/2018/01/debugging-javascript-with-webstorm-2017-3/

there is also Chrome Debugging for VS Code
https://code.visualstudio.com/blogs/2016/02/23/introducing-chrome-debugger-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
Reply

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 18:21.


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