User:Alexis Jazz/SkinEnforcer
From Wikipedia, the free encyclopedia
SkinEnforcer allows anons (visitors who aren't logged in) to switch skins. For logged-in users, it makes ?useskin= stick and allows exploring different skins on MobileFrontend. (Vector with MobileFrontend's collapsible sections actually works!)
DescriptionAllows anons to switch skins, makes ?useskin= stick, allows using alternative skins with MobileFrontend
AuthorAlexis Jazz
UpdatedOctober 9, 2022
Skinsall (but kinda sucky on logged-out mobile)
| Description | Allows anons to switch skins, makes ?useskin= stick, allows using alternative skins with MobileFrontend |
|---|---|
| Author | Alexis Jazz |
| Updated | October 9, 2022 |
| Skins | all (but kinda sucky on logged-out mobile) |
| Source | User:Alexis Jazz/SkinEnforcer.js |
Combines well with AnonLoader.
This script is fairly likely to break some other scripts. The following links are not affected by SkinEnforcer:
- External links
- Links without any href
- Links with only an anchor
- Links that contain "veaction="
- Anything with one of the following IDs:
- user-notifications
- ca-edit (only on Minerva)
- ca-watch
- page-actions-overflow-toggle
- Anything with one the following classes:
- oo-ui-buttonElement-button
- mw-ui-button
- minerva-talk-add-button
- language-selector
- eventonly (made this one up so other affected scripts can use it to avoid getting broken by SkinForcer)