@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vacantthinker/firefox-addon-framework-easy",
3
- "version": "2026.0606.1403",
3
+ "version": "2026.0607.1416",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -25,7 +25,6 @@ export function browserRuntimeOnMessageCommon(act, message, sendResponse) {
25
25
  break;
26
26
  case 'actMarco': //Marco Polo pool game
27
27
  sendResponse({status: 'Polo'});
28
- return true;
29
28
  break;
30
29
  case 'actRequestTabIdTabUrl':
31
30
  sendResponse(message);
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
  /**