Jump to content

Wikipedia:User scripts/List

From Wikipedia, the free encyclopedia

User scripts are powerful customisations, authored by the community, that allow registered Wikipedians to change Wikipedia's interface beyond the options available in preferences. This is a list of available scripts, with a description and a button to install them. User scripts are written in JavaScript.

  • Many of the most popular scripts become gadgets, and are removed from this page. You can enable them via Preferences – Gadgets. You should check there first for any tool you might be looking for, since gadgets have been widely tested and proven useful and reliable.
  • Most scripts are designed and tested primarily with the Vector 2022 skin, Wikipedia's default.

How to install user scripts:

  1. Check the checkbox at Preferences → Gadgets → Advanced → Tick Install scripts without having to manually edit JavaScript files (documentation) and click Save.
  2. Come back to this page.
  3. Click "Install" after each script name to install the script. Some scripts may require additional steps, so be sure to visit the documentation if any.

Alternatively, you may temporarily view this page with script-installer enabled.


Skip to top
Skip to bottom

Appearance and behavior

[edit]

Scripts that change the appearance or behavior (UI/UX) of the site and do not increase editors' contributions. Scripts that do nothing other than add a link to a menu, panel, or toolbar are in § Shortcuts.

Site-wide

[edit]

Scripts that work across namespaces.

Name Description Users
Total Active
accesskey (source)Display corresponding access keys besides links.N/AN/A
accessKeysCheatSheet (source)Adds Alt+⇧ Shift+? as an access key to show the list of all assigned access keys.3213
adBlock (source)Blocks banner ads and optionally template ads.N/AN/A
articleSummary (source)Adds a button to Wikipedia articles for generating AI-based summaries on demand using Google Gemini.N/AN/A
AutoMobileRedirect (source)Automatically redirects to desktop site when mobile links are opened on desktop. It does not change the behavior on mobile devices (unless desktop mode is enabled).5925
anonymize (source)Removes your username from the top of the screen.4316
Attribute (source)Easily get HTML attribution for a pageN/AN/A
babyglobeforever (source)Enables the birthday mode indefinitely. Only for Vector-2022. Note that this will work on all pages (including non-view ones, e.g. ?action=edit) across all namespaces.144
browserStorageManager (source)Manage cookie and web storage items.N/AN/A
CatWalk (source)Walk through pages in the given categories or linked from the given page. Useful for working through maintenance categories, database reports, etc.N/AN/A
Chocolate (source)A multipurpose userscript, forked from Anpang01's script of the same name, comes with many features.145
ColorfulButtons (source)Improves the appearance of Vector-2022 by adding colorized icons and button shadows, helping distinguish them at a glance.N/AN/A
ConfirmLogout (source)Shows a confirmation popup when clicking “Log out”. Works on all skins and in all MediaWiki languages. Lightweight and reliable, using MediaWiki’s built-in messages without altering the DOM or hardcoding logout logic.N/AN/A
Confirm Logout (source)Interrupts logout with a customizable HTML confirmation prompt. Likely to work with all skins and browsers. If it doesn't, let the author know!5319
Custom logo replacement (source)Allows users to define custom plugin functions that control when the Wikipedia logo is replaced.137
defconIndicator (source)Shows a colored icon next to notification icons based on current vandalism level set on User:EnterpriseyBot/defcon. Fork of Enterprisey's Watchlist-notice.3918
PCBIndicator (source)Modified version to show the current level of Pending Changes backlog set on User:DatBot/pendingbacklog.N/AN/A
Find General Sources (source)Imitates adding the find general sources template below the title of the article you are viewing.N/AN/A
Float Head (source)Makes the Wikipedia head navigation floating.N/AN/A
Float Side (source)Makes the Wikipedia side panel floating.N/AN/A
GoToTitle (source)Navigate to other pages by "editing" the page title at the top of pages as if it were an input box. Press ↵ Enter to navigate to the page entered.2310
Header Icons (source)Adds the Vector 22 icons (not text) from user dropdown to the header (Static & sticky) for 1 click navigation and stop the need to open the dropdown.N/AN/A
Header HeaderTextLinks (source)Adds the Vector 22 links text (not icons) from user dropdown to the header (Static & sticky) for 1 click navigation and stop the need to open the dropdown. This will give the same links previously available with vector legacy while maintaining V22 header styling.N/AN/A
Hide Vector Sidebar (source)Hides the left sidebar in Vector. Can access the sidebar anytime by alt-shift-a.24010
Invert (source)Adds a link to invert the colour of all Wikipedia pages.N/AN/A
Live notifications (source)Displays notification alerts and messages in a little popup box, live as they happen (or soon thereafter).7733
Making user scripts load fasterForces userscipt loading to cache in the current browser, thus hopefully improving loading times.N/AN/A
media timer (source)This gadget shows a timer with three modes and an interactive progress bar with a blue buffer indicator at the bottom of the window if a media element exists on the page. It can be used to play and pause and navigate a media file without having to scroll back to the on-page media controls. Currently, playback controls only work on audio files.N/AN/A
mobilePreview (source)Lets you preview the mobile version of any wiki page you're on.N/AN/A
Motivational Quotes (source)Creates a header on top of the screen with a motivational qoute.N/AN/A
NeverUseMobileVersion (source)Redirects to the desktop version when Google sends you to the mobile version.12848
unmobilePlus (source)Redirects you back to desktop whenever you get to a mobile link. Also replaces all links to mobile with direct links to desktop, so it should only be links you click on from outside Wikipedia that give you the mobile flash.2011
nightpedia (source)A dark mode for WMF wikis.7314
noeditredlinks (source)Stops the opening of the editor when clicking on red links.4922
noRedLinks (source)This script redirects all redlinks, which usually take you to the editing screen right to the actual page.N/AN/A
Notepad (source)Shows a notepad panel that allows you to save arbitrary text.5618
queer-rainbows (source)Embeds cute pride flag gradients for the titles of queer-related pages!N/AN/A
quickNavigate (source)Typing "\\" will open an input; type in a page name, and you will be redirected there.137
RedirectNotification (source)Get notified when you are redirected, allowing you to view the redirect page.379
RetroLogoReplace the top-left Wikipedia logo.N/AN/A
Safemode Shortcut (source)Adds a keyboard shortcut to easily activate safemode on the current page.N/AN/A
scriptManager (source)Selectively run your scripts on the fly.5612
scriptManager (source)Modified version with support for all skins (except Minerva).137
simple-notifs (source)Another notification panel.121
snowflake (source)Make snowflakes fall from your screen throughout Wikipedia!N/AN/A
specialRandomPage (source)Finds a random page based on user's preferred options.208
stainedglass (source)Recolors the body window pane different colors on non-mainspace pages.N/AN/A
superjump (source)Custom keyboard shortcuts to jump to any page, and more!278
Talk to Wiki (source)In-beta script that enables voice-activated functionality for navigation of Wikipedia.N/AN/A
TodoList (source)Adds a todo list link to the head. The link will open a popup that allows you to view, add to, and modify your todo list. The todo list is stored in your user options, so it's private.8636
ToggleSidebar (source)Adds a link to toggle the sidebar (only testing for Vector).N/AN/A
Unslashifier (source)Redirects accidental navigation to a nonexistent page ending in a slash ("Foo/") to the normal page ("Foo").147
up-one-lvl-kbd (source)The "U" keyboard shortcut now goes up one subpage level.607
Update Notifications (source)Updates the alert and notification counts every few seconds.328
UTCclock (source)Adds a clock displaying the current UTC time244
Clock (source)Displays a UTC clock at the bottom right corner of Wikipedia pages.N/AN/A
V22 (source)Fork of User:Jonesey95/common.css that narrows the sidebars instead of upheaving them, reverts the January 2024 dropdown changes, and accounts for more client configurations. Features it has inherited from upstream include a wider width, padding reductions, and faster animations.N/AN/A
Vector 2022 Condensed (source)Elminates a ton of padding from Vector 2022 and introduces a lot of miscellaneous tweaks, such as unfurling the ToC.N/AN/A
Vector 2022 Floating Tools Menu (source)Moves the Tools menu in the Vector 2022 skin, from the right hand side of the screen to the left hand side of the screen.N/AN/A
VectorButtons (source)Give those boring gray standard buttons a Vector-like appearance.N/AN/A
Watchlist Notifier (source)Notification of changes to watched pages. Changes are checked on each page load, with notifications appearing at the top of the page under its title.19117
Watchlyst Greybar Unsin (source)Rewrite of Watchlist Notifier with modern APIs that won't display watchlist items marked as seen, has a dismiss button, and will display the rendered edit summary for any kind of watchlist item, including non-edits.2512
Watchlist scout (source)Polls your watchlist when you open any Wikipedia page, and then once a minute after that. When it discovers a new, unread page in your watchlist, creates a user-message informing you of the change, and stops polling. The message contains links to your watchlist, to the changed pages, and to their history page.N/AN/A
Watchlist-notice (source)Adds a toolbar notice (like the "You have new talk page messages" one) when there are unread changes on your watchlist.4212
Watchlist-watcher (source)Similar to Watchlist-notice, but instead of green bar which links to watchlist page, adds a box similar to "your alerts" and "your messages", with the number of unread pages in your watchlist (grey if 0, blue otherwise), click opens a popup with your watchlist content.134
Wide Skin (source)Hides the sidebar and transfers its links to menus and the footer. Tested with the Vector skin.252
Wikischedule (source)Prevents you from editing Wikipedia outside of a chosen schedule.N/AN/A
WikiFonts (source)Allows the user to change their font from a menu in the personal toolbar.N/AN/A

Body

[edit]

Scripts that change the appearance or behavior of the part that reflects wikitext (#bodyContent) across namespaces.

Name Description Users
Total Active
CopyCodeBlock (source)Adds a button to copy the content of each code block (<pre>).2512
CopyCodeBlock (2) (source)Allows for copying of code blocks. Originally developed on Fandom but merges later User:Nardog/CopyCodeBlock. Adds a few enhancements including double copy prevention to avoid redundant entries in a clipboard manager. Requires browser clipboard permissions to use.N/AN/A
CopyCodeBlock (3) (source)Fork of User:Awesome Aasim/copycodeblock. Does not requires browser clipboard permissions to use.N/AN/A
copyPageContent (source)Copy the content of the current page or edit form to the system clipboard. (Not yet compatible with the Visual Editor edit form.)N/AN/A
CopyPlainText (source)Adds a "Copy plain text" link to the Tools menu to copy a clean, unformatted version of the current article.N/AN/A
EditRedirect (source)Adds a → after redirects, allowing the user to edit the redirect.2012
DetectSNG (source)Detects keywords on unreviewed new articles that commonly call for the invocation of a subject-specific notability guideline.10767
fragmentAnchors (source)Visualizes fragment anchors and checks for duplicates.N/AN/A
Highlight recently added text (source)Highlights text that has been recently added or added since you last visited the page.8032
highlightSearch (source)Highlights the search key word in the selected article from the search page.252
Readability.js (