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.
28 questions
1
vote
0
answers
70
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 ...
1
vote
1
answer
308
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?
1
vote
1
answer
85
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 -->
&...
2
votes
1
answer
952
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 ...
7
votes
1
answer
180
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 ...
4
votes
2
answers
78
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 ...
3
votes
1
answer
160
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?
1
vote
0
answers
72
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 ...
2
votes
1
answer
104
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 ...
3
votes
2
answers
570
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.
...
2
votes
1
answer
75
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 ...
2
votes
2
answers
95
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 ...
9
votes
3
answers
545
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 ...
3
votes
0
answers
183
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.
...
1
vote
1
answer
168
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) ...
2
votes
1
answer
2k
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 ...
6
votes
1
answer
295
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.
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 ...
2
votes
1
answer
197
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 ...
2
votes
1
answer
291
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 ...
3
votes
1
answer
197
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 ...
9
votes
1
answer
212
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 ...
1
vote
2
answers
135
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....
0
votes
1
answer
49
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 ...
5
votes
1
answer
664
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 ...
2
votes
2
answers
115
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 ...
4
votes
1
answer
83
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 ...
90
votes
2
answers
33k
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/...