Night Shift Google Drive is a Firefox extension designed to bring a dark mode experience to Google Drive. This extension transforms the default Google Drive interface into a darker, more visually comfortable environment. With a single JavaScript file named darkmode.js
, Night Shift Google Drive is a lightweight and easy-to-use extension.
Night Shift Google Drive is available for easy installation in multiple ways:
-
Mozilla Firefox Add-ons Website:
- Visit the official Mozilla Firefox Add-ons website here.
- Click on the "Add to Firefox" button to install the extension directly.
-
Search in the Firefox Browser:
- Open the Firefox browser.
- Navigate to the extension section by clicking on the three horizontal lines in the upper right corner and selecting "Add-ons."
- In the search bar, type "Night Shift Google Drive."
- Find the extension in the search results and click on "Add to Firefox" to install.
- Download the extension by cloning the repository or downloading the
darkmode.js
file. - Open Firefox and go to
about:debugging
. - Click on "This Firefox" and then click the "Load Temporary Add-on" button.
- Select the
darkmode.js
file from the downloaded extension directory.
Night Shift Google Drive will be installed and active until you restart Firefox.
- Dark Mode: Enables a dark color scheme for Google Drive, reducing eye strain in low-light conditions.
- After installation, visit Google Drive or any of its subdomains.
- Experience the transformed dark mode interface for a more comfortable browsing experience.
Note: Night Shift Google Drive may not work on certain domains, and it's recommended to disable the extension for those cases.
The extension follows a simple file and directory structure:
- manifest.json: Contains metadata about the extension, including name, version, description, and icon information.
- darkmode.js: The JavaScript file responsible for applying the dark mode to Google Drive.
- icons/border-48.png: The icon used to represent the extension in the Add-ons Manager.
Feel free to customize the extension according to your preferences:
- Modify
darkmode.js
to adjust the dark mode styling. - Replace the icon (
icons/border-48.png
) with your preferred icon.
To test the extension:
- Visit Google Drive or its subdomains.
- Verify that the dark mode is applied as expected.
Note: Extensions may not work in private browsing by default. If testing in private mode, open "about:addons," click on the extension, and select the "Allow" option for "Run in Private Windows."
If you encounter any issues or have suggestions for improvement, feel free to contribute by reporting issues or submitting pull requests on GitHub.
Thank you for using Night Shift Google Drive! Enjoy a more comfortable Google Drive experience in dark mode.