日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

關于mv3 - Uncaught TypeError: Cannot read properties of undefined (reading ‘getDetails‘)

作者:slongzhang_ 更新時間: 2022-07-11 編程語言

chrome mv3已經廢除了chrome.app.getDetails

  • 正式棄用并移除 chrome.app.getDetails 以便調用它會顯示“not a function”錯誤
  • 在內部為 getManifest 命名,例如 chrome.app.getDetails = chrome.runtime.getManifest
  • 修復崩潰 將程序里chrome.app.getDetails 替換成 chrome.runtime.getManifest即可

原文鏈接:https://blog.csdn.net/qq_35606400/article/details/125517595

欄目分類
最近更新