Skip to content

Automatically enables the wiki's Vector dark mode theme without needing to be being logged in.

License

Notifications You must be signed in to change notification settings

ellielle/gw2-wiki-dark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GW2 Wiki Dark Mode

This extension automatically sets the color theme for the official GW2 wiki to their Vector dark theme without needing to be logged in.

I was tired of the default skin hurting my eyes at night, and didn't want to have to make an account.

If you are on a version lower than 0.3.0, I recommend updating. This extension no longer needs to be built and is no longer in TypeScript.


Installation

Firefox

The addon can be downloaded from its extension page.

Alternatively, you can download the most recent file from the Releases page. Install it by going to about:addons, clicking the cog in the upper right of the screen, and selecting Install Add-On From File.

After installation, navigate to a wiki page and enable Always Allow on wiki.guildwars2.com.

allow permissions

This will allow the addon to communicate to each wiki tab you may have open, to change your preference between dark/light.

Chrome

The addon can be downloaded from the Chrome store

See below issue about the Chrome version

UserScript

If you don't want to install an extension, a more simple userscript can can be found here.

  1. Open the gist page and click the "Raw" button.

  2. If your UserScript extension doesn't pop up to install the script, copy and paste all of it into a new user script. Save and enable it.

Known Issues

  • Only works on the English wiki currently.

  • Mangles some urls

  • The mode can't be toggled using the action button in the Chrome version. It will need to be disabled when you don't want dark mode.

Build

To build the extension for yourself:

  1. Clone the repository using git:
git clone https://github.com/ellielle/gw2-wiki-dark.git
cd gw2-wiki-dark
  1. Make a zip archive of the src folder and manifest.json

Firefox:

  1. Install it by going to about:addons, clicking the cog in the upper right of the screen, and selecting Install Add-On From File, and using the archive you just made.

Chrome:

  1. Clone the Chrome repository using git: git clone -b chrome https://github.com/ellielle/gw2-wiki-dark.git

  2. Install by going to chrome:extensions, clicking Load unpacked, and selecting the folder you cloned into.

If using WSL2, see their documentation on WSL2 with GUI apps.

Note: Addons for Firefox need to be signed by Mozilla. You can sign it for self-distribution or adding to AMO on their submission site.


Icon created by /u/sylint19 on Reddit, used and altered with permission.

Contributing

If you would like to contribute, please fork the repository and open a pull request to the main branch. Follow the above instructions in Build.