DemandHunt 海外社區機會雷達
繁中
獨立開發與工具 Webapps Stack Exchange · 2025-05-07

Chrome 的 Overrides 要先開 DevTools 才生效:想常駐修改第三方網站 JS

Chrome Overrides only work after opening DevTools: want persistent third-party JS patches

30 秒速覽
  • 誰在提Webapps Stack Exchange · 2025-05-07 · 1 贊 · 1 評
  • 想要什麼Chrome 的 Overrides 要先開 DevTools 才生效:想常駐修改第三方網站 JS
  • 能做成什麼『網站補丁』擴展:按站點注入持久化 JS/CSS 補丁、自動跟隨 chunk 哈希更新,開源 + 同步服務。

原帖原話

“I patch a third-party site's JS via DevTools → Source → Overrides. Works, but next visit it's inert until I open DevTools again — and the JS lives in webpack chunks, so swapping it isn't easy.”

“我用 DevTools → Source → Overrides 改第三方網站的 JS,功能上沒問題,但下次訪問默認不生效——得先打開 DevTools。JS 又在 webpack chunk 裡,替換不容易。”

— Webapps Stack Exchange · 2025-05-07 · webapps.stackexchange.com/questions/181228/override-…

需求背景與痛點

痛在哪

Overrides 設計給調試不給日常用:webpack chunk 文件名帶哈希,用戶補丁難以持久生效。

可以做成什麼

能做成什麼

『網站補丁』擴展:按站點注入持久化 JS/CSS 補丁、自動跟隨 chunk 哈希更新,開源 + 同步服務。

怎麼驗證它

  1. 讀完原帖的評論區,把重複出現的具體場景記下來——重複次數就是需求的密度。
  2. 搜索「瀏覽器擴展 / 前端調試」相關的現有工具,確認它們只覆蓋了哪一環。
  3. 用一句話落地頁,投回 Webapps Stack Exchange 或同類社群,看有沒有人主動問價格。

已有方案與差異

Tampermonkey(要自己寫腳本、不跟哈希);Requestly(配置複雜)

社區原聲 · 熱門評論

you can get dev-tools to open automatically, you just need to open chrome from the commandline and add some command line switches (or edit the browser's shortcut to add the commands) macOS: open -a "Google Chrome" --args --auto-open-devtools-for-tabs Windows: start chrome --auto-open-devtools-for-tabs Linux: google-chrome --auto-open-devtools-for-tabs

— mack nordstrum · ▲ 1
打開原帖核對

同一痛點的其他討論

相關機會