Skip to content
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

GM_xmlhttpRequests do not show up in Network Tab of Chrome Inspector #561

Closed
volkirik opened this issue Jun 10, 2018 · 6 comments
Closed

Comments

@volkirik
Copy link

volkirik commented Jun 10, 2018

GM_xmlhttpRequests do not show up in Network Tab of Chrome Inspector

Expected Behavior

Show all GM_xmlhttpRequests in Network Tab of Chrome Inspector

Actual Behavior

GM_xmlhttpRequests do not show up in Network Tab of Chrome Inspector

Specifications

  • Chrome: 66.0.3359.181
  • TM: v4.6
  • OS: Windows NT 10.0; Win64; x64

Script

Applies to all user-scripts

@tophf
Copy link

tophf commented Jun 10, 2018

It's performed in the background page context.

  1. open chrome://extensions page
    (or right-click the extension icon in the browser toolbar, then click "Manage extensions")
  2. enable developer mode slider/checkbox
  3. click background in Tampermonkey's entry.
    (sometimes you'll need to open details first - in case several pages are shown in the card).

@volkirik
Copy link
Author

There is not developer mode slider/checkbox

Do I have to use Chromium instead of Chrome?

@volkirik
Copy link
Author

They have made userscripts appear at developer tools in version 4.5 (2017-12-30).

I was hoping to see similar change for GM_xmlhttpRequest

@tophf
Copy link

tophf commented Jun 10, 2018

There is not developer mode slider/checkbox

Well, Google's designs were always bad, I know, but you can easily find a video or a tutorial that illustrates the procedure. I can show a screenshot:

chrome_2018-06-10_16-51-00

They have made userscripts appear at developer tools in version

Userscripts runs inside the web page but GM_XHR runs inside a different page - the extension's background page, which is why it cannot be shown in web page's devtools.

@volkirik
Copy link
Author

Thanks so much. Life saver!

@derjanb
Copy link
Member

derjanb commented Jun 11, 2018

@tophf Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants