@vacantthinker/firefox-addon-framework-easy 2026.606.1403 → 2026.607.1416
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/README.md +2 -0
- package/package.json +1 -1
- package/src/browserRuntimeOnMessageCommon.js +0 -1
- package/src/opTab.js +10 -1
package/README.md
CHANGED
|
@@ -138,6 +138,8 @@ export async function tabOpQueryUrlThenRemove(urlQuery) { }
|
|
|
138
138
|
|
|
139
139
|
export async function tabOpReload(tabId) { }
|
|
140
140
|
|
|
141
|
+
export async function tabOpReloadByPassCacheTrue(tabId) { }
|
|
142
|
+
|
|
141
143
|
export async function tabOpRemove(tabId) { }
|
|
142
144
|
|
|
143
145
|
export async function tabOpHide(tabId) { }
|
package/package.json
CHANGED
package/src/opTab.js
CHANGED
|
@@ -111,7 +111,16 @@ export async function tabOpQueryUrlThenRemove(urlQuery) {
|
|
|
111
111
|
* @returns {Promise<void>}
|
|
112
112
|
*/
|
|
113
113
|
export async function tabOpReload(tabId) {
|
|
114
|
-
await browser.tabs.reload(tabId);
|
|
114
|
+
await browser.tabs.reload(tabId, {bypassCache: true});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @param tabId{number}
|
|
120
|
+
* @returns {Promise<void>}
|
|
121
|
+
*/
|
|
122
|
+
export async function tabOpReloadByPassCacheTrue(tabId) {
|
|
123
|
+
await browser.tabs.reload(tabId, {bypassCache: true});
|
|
115
124
|
}
|
|
116
125
|
|
|
117
126
|
/**
|