Questions tagged [scripts]

Questions about (user)script support, or using the API from userscripts.   If you are announcing or posting a userscript, use the "script" tag instead.

Filter by
Sorted by
Tagged with
1 vote
0 answers
55 views

Userscript to disable responsiveness on SE

I would like to make a user script to disable the responsiveness on Stack Exchange sites. My main reason is that I would like to resize my browser to half my screen size (705px) and still get the ...
TheNewOne's user avatar
1 vote
1 answer
169 views

Is there a way to get a user's account ID given his site's user ID?

I'm trying to modify this userscript of mine to make it work on all sites but I couldn't find a way to get the account ID (i.e., network profile ID) for a user. Is this possible?
41686d6564's user avatar
1 vote
1 answer
73 views

How can I see how a Stack Apps summary looks for a particular app?

When using one of the templates (app/library/script) while writing a question here, the top of the post will contain some HTML comments: <!-- thumbnail: https://example.com/some-image.png --> &...
Glorfindel's user avatar
  • 6,762
2 votes
1 answer
934 views

How to set a userscript, listed here on Stack Apps, to auto-update by itself?

I try to make my userscripts as comprehensive as possible on the first attempt. However there are often cases where I need to push some new update to it. In these cases, past users have to manually ...
Gaurang Tandon's user avatar
7 votes
1 answer
160 views

Would it be possible to create a script that could be run manually to unprotect questions that meet certain parameters?

One of the sites I use has in excess of 10% of their questions protected. It's a small site but this seems like a huge amount, largely due to questions being on the HNQ regularly and attracting many ...
Catija's user avatar
  • 290
4 votes
2 answers
77 views

Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?

I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own ...
clickbait's user avatar
  • 385
3 votes
1 answer
158 views

Can I have a separate account just for testing my Stack App?

I want to test my Stack App to make sure it works properly without and problems. Is it allowed if I use a separate account just for this purpose?
clickbait's user avatar
  • 385
1 vote
0 answers
64 views

A way to copy text on this forum to preserve math symbols?

Is there any way to copy html-text containing Mathjax symbols from this forum's threads and paste it into a word processor (I use Libre office Writer) to preserve nicely looking math symbols? The ...
S. N.'s user avatar
  • 11
2 votes
1 answer
101 views

Sane limits for script that auto-loads new reviews for easier manual reviewing

I was looking at Am I allowed to use/create robots to track questions? just now and started wondering whether my current userscript to help with reviewing has quite the right internal rate limits. It ...
Nathan Tuggy's user avatar
3 votes
2 answers
556 views

How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?

I recently built a userscript for Board Games Stack Exchange. On page load, it scans questions and answers for certain plaintext patterns and replaces them with some HTML, making the posts prettier. ...
doppelgreener's user avatar
2 votes
1 answer
68 views

Is there any API or documentation that would help my adding functionality to Q&A textareas?

I'm writing an userscript that should add some functionality to the main textarea (WMD) used to post and edit answers and questions. The functionality will usually need to do things like insert text ...
TomáÅ” Zato's user avatar
2 votes
2 answers
94 views

Problems opening a question link into an iframe

When we execute a search request we can get back a list of matching questions. One of the properties of the response is called "link" which is a URL to the question itself. In my application, I ...
Kolban's user avatar
  • 141
9 votes
3 answers
517 views

Stack Exchange userscript template / boilerplate

I find it annoying to have to type the entire list of Stack Exchange sites to include every single time I make a new userscript. Furthermore, jQuery isn't automatically included by default. Is there ...
Doorknob's user avatar
  • 1,299
3 votes
0 answers
181 views

StackPrinter Greasemonkey script is broken [closed]

I have previously installed and been working with the "StackPrinter" Greasemonkey script -- which displays a button on each Stack Exchange question to print that question with StackPrinter. ...
jrw32982's user avatar
  • 131
1 vote
1 answer
160 views

Load answers to a question with review-like wrapper HTML

I'm trying to implement this feature request in SOUP, but I'm having trouble figuring out a good way to actually load the answers. I can just load the full question page (like this one, for example) ...
Ilmari Karonen's user avatar
2 votes
1 answer
1k views

Looking for a script to show countdown timer below posts for easier edits

On Stack Exchange sites, edits that are made within 5 minutes of posting a question or answer aren't counted. This is called the grace period. For example, if you post a new answer, and edit it after ...
Amal Murali's user avatar
6 votes
1 answer
281 views

Complete list of sites to @include / @match into my script?

This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
Danny Beckett's user avatar
3 votes
1 answer
3k views

Unable to install script on Chrome

I posted a question on Meta Stack Overflow, and from there I was directed to install this script. When trying to install the script in Chrome, I get the following error: Apps, extensions and user ...
user avatar
2 votes
1 answer
182 views

Moderation request: Make "scripts" and "user-script" into synonyms of "script"

We currently have three tags that are essentially the same thing -- especially in a stackapps context. They are scripts, user-script, and script. script is one of the "required tags" and has a nice ...
Brock Adams's user avatar
  • 12.9k
2 votes
1 answer
286 views

Javascript SDK init fails on sytax error...why?

I'm writing a user script and I want to hit the SE API for something, but SE.init is failing without much feedback indicating what the issue is. According to the documentation, it should be ...
Ben Collins's user avatar
3 votes
1 answer
180 views

Array of all Stack Exchange sites with Name, URL and Description

I'm building a WordPress widget and need this array do display a dropdown where the user will select the target site. And with the selection value, the information will be built and displayed ...
brasofilo's user avatar
  • 992
9 votes
1 answer
204 views

What to do with "OAuth Domain" in the registration page for a browser user script?

I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use. My project is a browser userscript that works with ...
hippietrail's user avatar
1 vote
2 answers
112 views

How to get the site name from document to pass to API?

Most APIs take a parameter site which must be set to the name of the site your queries are about. For meta.travel or travel. But of course sites have various names, for example gaming.stackexchange....
hippietrail's user avatar
0 votes
1 answer
47 views

A way to mimic the "share a link to this answer" dialog from a user script?

I would like to make a browser "user script" (like Greasemonkey etc) that can pop open a window with a text field for the user to select and copy so they can paste it elsewhere. I want to match the ...
hippietrail's user avatar
5 votes
1 answer
656 views

Chrome may not allow one-click userscript install now

Issue 128748: [Regression] Unable to install extensions by running .crx file downloaded in Chrome Chrome can't (directly) install userscripts anymore Chrome Fix: Extensions, apps, and user scripts ...
Manishearth's user avatar
  • 2,725
2 votes
2 answers
114 views

Small user scripts, one-liners, prototypes?

The script tag is to be used for complete userscripts. It would also feel kind of pollutive to swamp it with lots of smallish submissions. Hencewhy I'm making this proposal as reference question to ...
mario's user avatar
  • 329
4 votes
1 answer
81 views

Is there documentation on how to install scripts?

Is there documentation, or at least links, on how to how to install JavaScript scripts for your web browser of choice? Most of the FAQ seems to be about how to create StackApps, rather than how to use ...
Andrew Grimm's user avatar
90 votes
3 answers
30k views

How to list your application/library/wrapper/script here

If you've created an application, script, or library for use on the Stack Exchange network, that's fantastic! Now publicize it by creating a question with the correct tag: app https://stackapps.com/...