為什麼我不能用 chrome 調試 Service Worker? (Why I can't debug Service Workers with chrome?)


問題描述

為什麼我不能用 chrome 調試 Service Worker? (Why I can't debug Service Workers with chrome?)

我幾乎發瘋了幾個星期,試圖檢查網頁是如何自我更新的。沒有網絡流量,沒有發現 Fiddler,沒有使用服務工作者,沒有攔截後台同步..

左側,您可以看到股票價格實時更新底部 沒有網絡流量被攔截,右側沒有任何後台服務

圖片


參考解法

方法 1:

The issue was related to the antivirus:

As soon as I disabled the antivirus (Kaspersky) the traffic from chrome's Service Workers became visible again both with Fiddler

enter image description here

And Chrome

enter image description here

(by ReviousRevious)

參考文件

  1. Why I can't debug Service Workers with chrome? (CC BY‑SA 2.5/3.0/4.0)

#google-chrome #network-traffic #service-worker #web-scraping #fiddler






相關問題

chrome 可以播放 html5 mp4 視頻但 html5test 說 chrome 不支持 mp4 視頻編解碼器 (chrome could play html5 mp4 video but html5test said chrome did not support mp4 video codec)

向 Sencha Touch 谷歌地圖添加標記 (Adding Marker to Sencha Touch Google Maps)

Mathjax 方程在每個公式上都有符號 `|` (Mathjax equation got sign `|` on every formula)

Google Chrome 中 zip 文件的 Mime 類型 (Mime type for zip file in Google Chrome)

Chrome 擴展:popup.html 通過 contentscript.js 動態創建 (Chrome Extension: popup.html dynamically create via contentscript.js)

CSS 3漸變不適用於chrome / firefox (CSS 3 gradient not working on chrome/firefox)

如何訪問網頁 DOM 而不是擴展頁面 DOM? (How to access the webpage DOM rather than the extension page DOM?)

覆蓋 navigator.bluetooth.requestDevice() 的默認行為 (Override default behavior of navigator.bluetooth.requestDevice())

VBA Selenium Chrome:如何更改鏈接 (VBA Selenium Chrome : How to Change Link)

鼠標懸停在 Chrome 瀏覽器上的日期和時間選擇器圖標上時的光標指針 (Cursor pointer when mouse-over on date and time picker icon on chrome browser)

更改 HTML 選擇箭頭背景顏色 (Change HTML Select arrow background color)

旋轉的圖像無法在 Google Chrome 瀏覽器中正確顯示 (Rotated images not displaying correctly in Google Chrome browser)







留言討論