Repository: buildspace/buildspace-os Branch: main Commit: e9ca53894809 Files: 5 Total size: 3.0 KB Directory structure: gitextract_v683n00r/ ├── .gitignore ├── README.md ├── background.js ├── manifest.json └── tab_override.html ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ .DS_Store ================================================ FILE: README.md ================================================ # buildspace os ## setup ### you don't need to write any code or know how to code to set this up. It will take 2 mins max — promise **we even made a 2 min vid for you** [installing buildspcae os](https://github.com/buildspace/buildspace-os/assets/13204620/c19da4b4-1266-4772-ba4e-0fdd795df9f4) ### 1. download click the green "Code" button and select "Download ZIP". make sure to extract the download in a safe spot!
![](https://i.imgur.com/TlzzORw.png) ### 2. turn on Developer mode in your browser head to the "Extensions" section. this can be found in the settings portion of your browser! checkout the screenshot below:
![](https://i.imgur.com/igEIfnt.png) once you get there you'll see "Developer mode" in the top right. make sure to toggle that **on** and then you'll see new options (we're gonna be using "Load unpacked")
![](https://i.imgur.com/l8GLD4b.png) ### 3. add the app to your browser you're at the home stretch! press the "Load unpacked" option and then go to the folder where you saved buildspace os. it should look something like this:
![](https://i.imgur.com/ztCAc8i.png) once you select it you should see this (nice you did it!)
![](https://i.imgur.com/VmpDMFq.png) ### 4. open a new tab now you can see this thing in action! Open a new tab and you'll notice that there is a prompt saying that the page was changed by the buildspace os extension. **Make sure to select keep it or it will not work.**
![](https://i.imgur.com/UtvBBmW.png) ## got questions? for any questions please send an email to support@buildspace.so ================================================ FILE: background.js ================================================ chrome.tabs.onCreated.addListener(function(tab) { if (!tab.url) { // If the URL is not available, wait for the tab to be updated chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, updatedTab) { // Ensure the event is for the same tab and the URL has changed if (tabId === tab.id && changeInfo.url) { console.log("Updated tab URL:", changeInfo.url); if (changeInfo.url.startsWith("chrome://startpageshared/")) { chrome.tabs.update(tab.id, { url: "tab_override.html" }); } } }); } }); ================================================ FILE: manifest.json ================================================ { "name": "buildspace os", "description": "buildspace os — your new home for nights and weekends", "version": "1.0.0", "manifest_version": 3, "icons": { "48": "assets/48.png", "128": "assets/128.png" }, "permissions": ["tabs"], "background": { "service_worker": "background.js" }, "chrome_url_overrides": { "newtab": "tab_override.html" } } ================================================ FILE: tab_override.html ================================================ buildspace os