Questions tagged [script]
Use this tag to post a userscript that operates on Stack Exchange sites and/or uses the Stack Exchange API. For questions about user scripting and Stack Exchange, or its API, use the [scripts] tag instead. Scripts are usually JavaScript and usually browser extensions/userscripts. For other tools, the [app] tag may be more appropriate.
System to facilitate the indexing and archiving of Web3 Discord Questions
LUNA_Discord is the Discord module of the LUNA system which facilitates the integration of Cyfrin's Discord Bot with various AI models and systems. Access to the Stack Exchange API will be used to …
Fix for the network search pagination
Description Problem See the report Pagination on stackexchange.com search is broken The pagination in the global search is broken. It only shows 15 results even when the page size is set to somethi…
Expand Code to Fullscreen on StackExchange Site
Description Script practice. Toggle Fullscreen on Hover: When users hover over a code block, a 'Fullscreen' button appears. Clicking this button will expand the code block to fill the entire scree…
Show Deleted Answers at head for Stack Exchange
Description Script practice. To view your own deleted answers/questions on a Stack Exchange account, you always need to scroll all the way down to see the "Deleted answers" tag. I've writ…
Easily apply "bookend" deletion of AI-generated content
Description This is a fork of Samuel Liew's DeletedUsersHelper userscript. It's a script for moderators only. The purpose of this userscript is to simplify bulk-deletion of AI-generated posts as pe…
Universal dark mode (beta)
[Beta] Universal SE Dark Mode While functional, this is experimental and while some sites work, a bit more work is required for it to support all (or, most of) SE. Install Universal dark mode has l…
Revision diff view
When visiting an individual post revision page, this script adds buttons that allow switching to a view showing how the revision differed from the previous one, just like on a full post history pag…
Get fkey button: see your chat fkey without inspecting the source!
Adds a button that tells you your fkey when it's clicked.
Bring focus to inline tag editor
Description Focus the inline tag edit tool1 when opened. Allows for using keyboard immediately to interact with the tags. Press Escape to cancel the editing or Enter to save. 1Part of the moderator…
Focus question title with keyboard selection
Description When using the keyboard shortcuts to navigate post lists (U - top post; J - next post; K - previous post) this userscript will also set the focus on the hyperlink to the post. This allo…
White keyboard highlighting in dark mode
Description This changes highlighting from using keyboard shortcuts to use white instead of black. Allows actually seeing the highlighting noticeable in high contrast mode. The userstyle only works…
Footer Remover Exchange - remove the unnecessary footer!
I usually scroll to the bottom in Stack Overflow looking for interesting questions to answer. Hence, it's pretty annoying to see the footer since it doesn't contain any useful content beside the &q…
Copy Code Exchange - copy code to clipboard from Stack Exchange sites!
This is a userscript to copy code (from any <pre> element) to the clipboard from all Stack Exchange sites. It's pretty nice and cool to be able to copy the code faster, rather than manually s…
PLACEHOLDER - This is to add my app for academia [closed]
PLACEHOLDER - This is to add my app for academia
Stack Exchange code block line numbers userscript
A Userscript to add line numbers to code blocks
Adding the "Share" button for "Other answers" in review queues
This is a basic userscript which adds the Share link under answers in the review queues. It is based on my own request from long ago. It is intended to add the link to the "Other answers"…
PLACEHOLDER - GPT/AI Post Stats
Scripts to analyze posts for potential GPT content. Note that this is not for AI training - Simply looking for suspect GPT/AI content.
User style for mod strike
Tested in Stylus on Firefox. Hides review queue, downvote, VTC, VTD, delete, undelete, and flag buttons/links. /* ==UserStyle== @name ModStrike @namespace github.com/openstyles/stylu…
Stack Exchange in read-only mode
This userstyle aims to remove almost all interactivity with the Stack Exchange network for logged in users. Notably it leaves: Chat Following a post Saves Removes most other features that produce…
Export to Google Docs™ companion
Add a button to each post for easy export to Google Docs™. Export questions and answers from Stack Exchange in various formats to Google Drive.
Hide Recognized Member text from the RM's flairs in the Collectives
With the launch of Collectives on Stack Overflow, whenever a recognized member post an answer within their respective collective, there will be a "badge" underneath their flair which show…
Automark as read
The following simple script reverts the most significant one of the inbox ‘improvements’: it marks all inbox messages as read as soon as the inbox is closed. // ==UserScript== // @name Stack Ex…
PLACEHOLDER - DraftWriter
The script is designed to create a draft of a Stack Overflow question. The main components of this application are: Stack Overflow API: The application interacts with the Stack Overflow API to per…
Load Anonymous feedback
Access to anonymous and low-rep post feedback This User script allows to view anonymous and low-rep post feedback/votes under the voting menu: You can get it from GitHub: Source Install What is an…
Remove related questions from the middle of the page
Stack Exchange graduated the test of moving the related questions section in the middle of the secreen. This section rarely provides actually relevant questions and it serves as a big distraction …
NATO tool link shortcut
This is a basic userscript which saves one click and some waiting time. If you are anxious like me and don't like to head over to the (10k) Tools page, wait for the page to load while chasing the e…
Better Paginator - a userscript to add a page-number-box to the paginator
Adds a box where the user can enter a page number to go to in the paginator
Add the excerpt back to the question title on hover
Adds on the home page of a site an excerpt of the question when hovering over the title
OpenAI detector
Adds a button to check the probability that a post was written by a bot
Voting Overcharged - A userscript for automatically voting on posts depending on various conditions
A userscript for automatically voting on posts depending on various conditions.
Inbox auto-read - a userscript to mark inbox notifications as read automatically
Inbox auto-read Install Tl;dr: This Tampermonkey userscript automatically reads inbox notifications when it is opened instead of requiring one to press the Mark all read button. I gave it the MIT L…
How to get write access to Stack Exchange API? [duplicate]
I am trying to use Stack Exchange API to post upvotes and downvotes from my app. I have received the access token but not sure what to do with write_access
Custom Sidebar Links
Allows for adding user-defined links to the left-sidebar on SE sites
Using scripts on iOS with the Userscripts app never seem to work?
I'm using the Userscripts app for mobile Safari. My phone is an iPhone 13 running 15.6.1 operating system. I use this app for other scripts. So it does, at least for some things, work as expected. …
Question and Answer Icon Annotations in Reputation History
Description This UserScript makes it easier to differentiate post type in the reputation history (/users/:user-id/username?tab=reputation) by adding Q and A icons as visual indicators. Specifically…
Optionally Anonymised Short Links
Description This is a resurrection of the (now no longer accessible) UserScript Anonymize short links. Specifically, this script implements this proposal by adding a checkbox (toggle switch) to eac…
PLACEHOLDER - Sample Script to test Stack Exchange API
The script is only testing various Stack Exchange APIs.
replace text with icons
Exist any way to replace text with icons? Like this example: I have tried to re-write/replace the html from an extension in the site but I have not achieved anything functional; with the relative …
Revert Stack Exchange's new up/down vote buttons
This userscript, written for ViolentMonkey, reverts the question and answer upvotes on all Stack Exchange sites so that they are almost identical to their previous design. New vote buttons (shown f…
Hide answer sorting for a single answer
StackExchange hide sorting for a single answer A userscript that removes the sorting combobox in questions when there is only one answer available. Before: After: For users who prefer a cleaner U…
SE Toast/FancyOverlay Suppressor
StackExchange provides a variety of notices and toast messages, but sometimes they can get a bit annoying for experienced users. This UserScript adds a Proxy to the two helper functions which cause…
Auto-Editor: a user script for automatically correcting common errors
This user script adds a button when editing Stack Exchange sites that automatically fixes many common grammar, spelling, capitalization, and usage errors. Installation Install a user script extens…
Comment Templates Context Menu, an auto-comments user script
If you are tired of typing the same comments into Stack Exchange sites over and over, you can use this add-on to insert any of your frequently written comments with a couple clicks. Installation I…
Following Overcharged - Various improvements to the "follow" feature
Following Overcharged contains various improvements to the "follow" feature
Userscripts Configurer - One script to configure them all
UserScripts Configurer provides a shared UI and controls configuration options for UserScripters' userscripts.
Duplicate manager with automatic closure and duplicate list editing
Description This is a userscript partly inspired by Aran Fey's Duplicate Target Manager and responds to this meta question (by myself) API to programmatically close questions as duplicate with dupl…
Post Box Highlighter - Highlight a post box background
Post Box Highlighter is a simple userscript for temporarily highlighting question or answer boxes.
Magic Answer References - a userscript for making proper post referencing easier
Magic Answer References is a userscript making referring to other posts easier.