[rst-commit] r102 - in /redwax-signtext/trunk/src/firefox: content.js manifest.json

rst-commit at redwax.eu rst-commit at redwax.eu
Mon Mar 11 21:14:56 CET 2024


Author: minfrin at redwax.eu
Date: Mon Mar 11 21:14:55 2024
New Revision: 102

Log:
Manifest v2 to manifest v3

Modified:
    redwax-signtext/trunk/src/firefox/content.js
    redwax-signtext/trunk/src/firefox/manifest.json

Modified: redwax-signtext/trunk/src/firefox/content.js
==============================================================================
--- redwax-signtext/trunk/src/firefox/content.js	(original)
+++ redwax-signtext/trunk/src/firefox/content.js	Mon Mar 11 21:14:55 2024
@@ -2,9 +2,6 @@
  * Handle all background script events, passing them as
  * appropriate to the webpage.
  */
-const port = browser.runtime.connect('rst at redwax.eu', {
-	name: window.location.href
-});
 
 /*
  * Firefox
@@ -52,6 +49,9 @@
 
 		}
 
+		const port = browser.runtime.connect('rst at redwax.eu', {
+			name: window.location.href
+		});
 
 		/* pass a string, we return a string */
 		if (typeof source === 'string') {

Modified: redwax-signtext/trunk/src/firefox/manifest.json
==============================================================================
Binary files - no diff available.



More information about the rst-commit mailing list