我正在嘗試將DOM附加到從打開的自我chrome擴展文件中popup.js。假設我在chrome擴展文件中存在一個名為的文件temp.html,在執行時的某個時刻popup.js,我使用打開了該文件,chrome.tabs.create然后將DOM附加到此html文件中。無論如何,我可以從那里開始popup.js嗎?Extension files:1-manifest.json2-functions functions.js domToTables.js3-libs jquery-3.3.1.min.js bootstrap-4.2.1-dist4-myTables stylesheet.css *temp.html* \\this file5-popup stylesheet.css index.html popup.js6-background.js7-content.js
在新標簽/窗口中傳遞數據或修改擴展名html
HUWWW
2020-02-02 15:23:38