@vacantthinker/firefox-addon-framework-easy 2026.5.2207 → 2026.5.2208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/baseOpTab.js +1 -5
package/package.json
CHANGED
package/src/baseOpTab.js
CHANGED
|
@@ -85,12 +85,8 @@ export async function tabOpFocus(tabId) {
|
|
|
85
85
|
*
|
|
86
86
|
* @param{number} tabId
|
|
87
87
|
* @param {string}code
|
|
88
|
-
* @param {function}thenDoWhat
|
|
89
88
|
* @returns {Promise<void>}
|
|
90
89
|
*/
|
|
91
|
-
export async function tabOpInsertCssCode(
|
|
92
|
-
tabId, code, thenDoWhat
|
|
93
|
-
) {
|
|
90
|
+
export async function tabOpInsertCssCode(tabId, code) {
|
|
94
91
|
await browser.tabs.insertCSS(tabId, {code})
|
|
95
|
-
thenDoWhat()
|
|
96
92
|
}
|