PageCraft is a lightweight browser extension for writing and saving custom CSS for individual websites. It supports Chrome and Firefox with Manifest V3.
- Edit and apply CSS for the current website from the extension popup.
- Styles are saved by hostname and automatically reapplied on page loads.
- Clear the editor and save to remove a site's custom style.
- CSS is stored locally in the browser; PageCraft does not send it anywhere.
- Open
chrome://extensions. - Turn on Developer mode.
- Select Load unpacked and choose this project folder.
- Open a website, select the PageCraft toolbar button, enter CSS, and select Save and apply.
- Open
about:debugging#/runtime/this-firefox. - Select Load Temporary Add-on….
- Choose this project's
manifest.json. - Open a website, select the PageCraft toolbar button, enter CSS, and select Save and apply.
Temporary Firefox add-ons are removed when Firefox restarts. For a permanent installation, package and sign the extension through Mozilla Add-ons.
Browsers require a file named manifest.json. The requested manifest.js is its dependency-free source generator. After changing the manifest configuration, run:
node manifest.jsThen reload the unpacked extension in the browser.
PageCraft uses local storage for saved CSS, the active-tab permission to identify the website open in its popup, and access to websites so its content script can apply saved styles. It only reads and writes the CSS that you enter.