User:Shahadat/Invert
![]() | This user script is currently active on Justapedia. This has been verified by an administrator or creator. If there is a problem, please leave a message on its talk page. |
< Shahadat's scripts | JS | Base template
File:Justapedia logo v2 (black).svg | |
File:Justapedia user-script Invert.jpg Invert script being used | |
Description | Adds a invert link Invert inverts the colour of the page. It adds a link to the toolbar that will allow you to invert the page colour and the colour of images. The script saves CSS by editing your custom CSS file. The script also allows you to modify a temporary configuration for the page you're viewing or the saved configuration, which is saved to you CSS file (counts as a edit). This script should work with all skins, please report any issues. |
---|---|
Author(s) | User:Shahadat |
Status | Working |
First released | September 23, 2018 |
Browser support |
|
Skin support | All |
Source | Invert.js (git) |
GitHub repository | Justapedia-user-scripts on GitHub |
Invert inverts the colour of the page. It adds a link to the toolbar that will allow you to invert the page colour and the colour of images. The script saves CSS by editing your custom CSS file. The script also allows you to modify a temporary configuration for the page you're viewing or the saved configuration, which is saved to you CSS file (counts as a edit). This script should work with all skins, please report any issues.
Installation
importScript('User:Shahadat/Invert.js'); // [[User:Shahadat/Invert.js]]
- After installing reload the page and clear your cache
Invert images
To also invert images, hover over the "Invert" link and check the option to invert images.
Comments/Bugs
Comments are welcome on my talk page, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better. User:Shahadat/scripts/navbox
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:BrandonXLF/Invert |