multithreading #2
							
								
								
									
										
											BIN
										
									
								
								browser/icon.png
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								browser/icon.png
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.9 KiB  | 
@@ -1,5 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
  "typeAcquisition": {
 | 
					 | 
				
			||||||
    "include": ["firefox-webext-browser"]
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,16 +0,0 @@
 | 
				
			|||||||
<!DOCTYPE html>
 | 
					 | 
				
			||||||
<html>
 | 
					 | 
				
			||||||
    <head>
 | 
					 | 
				
			||||||
        <meta charset="utf-8">
 | 
					 | 
				
			||||||
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
					 | 
				
			||||||
        <title></title>
 | 
					 | 
				
			||||||
        <meta name="description" content="">
 | 
					 | 
				
			||||||
        <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
					 | 
				
			||||||
        <link rel="stylesheet" href="style.css">
 | 
					 | 
				
			||||||
    </head>
 | 
					 | 
				
			||||||
    <body>
 | 
					 | 
				
			||||||
        <p>Here is some text</p>
 | 
					 | 
				
			||||||
        <p id="changeme">old</p>
 | 
					 | 
				
			||||||
        <script src="script.js" async defer></script>
 | 
					 | 
				
			||||||
    </body>
 | 
					 | 
				
			||||||
</html>
 | 
					 | 
				
			||||||
@@ -1,5 +0,0 @@
 | 
				
			|||||||
document.getElementById("changeme").innerText = "newer"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
window.fetch("http://127.0.0.1:9001").then((e) => {
 | 
					 | 
				
			||||||
    console.log(e)
 | 
					 | 
				
			||||||
})
 | 
					 | 
				
			||||||
@@ -1,4 +0,0 @@
 | 
				
			|||||||
html {
 | 
					 | 
				
			||||||
    background: black;
 | 
					 | 
				
			||||||
    color: white;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,14 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
    "manifest_version": 2,
 | 
					 | 
				
			||||||
    "name": "Viewer",
 | 
					 | 
				
			||||||
    "version": "0.1",
 | 
					 | 
				
			||||||
    "description": "Adds a red border to all webpages matching mozilla.org.",
 | 
					 | 
				
			||||||
    "permissions": [
 | 
					 | 
				
			||||||
        "activeTab"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "browser_action": {
 | 
					 | 
				
			||||||
        "default_icon": "icon.png",
 | 
					 | 
				
			||||||
        "default_title": "Click me!",
 | 
					 | 
				
			||||||
        "default_popup": "popup/popup.html"
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<!DOCTYPE html>
 | 
					 | 
				
			||||||
<html>
 | 
					 | 
				
			||||||
  <head>
 | 
					 | 
				
			||||||
    <meta charset="utf-8">
 | 
					 | 
				
			||||||
  </head>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
<body>
 | 
					 | 
				
			||||||
    <button id="newtab">Open Historical Pages</button>
 | 
					 | 
				
			||||||
    <p id="tim"></p>
 | 
					 | 
				
			||||||
    <script src="popup.js"></script>
 | 
					 | 
				
			||||||
</body>
 | 
					 | 
				
			||||||
<style>
 | 
					 | 
				
			||||||
  html {
 | 
					 | 
				
			||||||
    background: black;
 | 
					 | 
				
			||||||
    color: white;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
</style>
 | 
					 | 
				
			||||||
</html>
 | 
					 | 
				
			||||||
@@ -1,3 +0,0 @@
 | 
				
			|||||||
document.getElementById("newtab").addEventListener('click', async function(e) {
 | 
					 | 
				
			||||||
    await browser.tabs.create({ url: "/main/main.html" })
 | 
					 | 
				
			||||||
})
 | 
					 | 
				
			||||||
@@ -1,5 +0,0 @@
 | 
				
			|||||||
document.body.textContent = "";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
let header = document.createElement("h1");
 | 
					 | 
				
			||||||
header.textContent = "This page has been eaten";
 | 
					 | 
				
			||||||
document.body.appendChild(header);
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user