Hot answers tagged

44

Please report new issues or feature requests on our issue tracker! The work on making this a full-blown GitHub based project originally outlined in this answer is now complete. All further feature requests and bug reports should be directed at the GitHub issue tracker. And if you had raised an issue in the comments or answers below, and it's still ...


25

status-completed (used this fix in V1.2.9) Some people are experiencing a problem where the auto link does not appear. This has to do with the fact that the DOM elements on which the selector is based are dynamically loaded into the DOM. The workaround for this is to change line 683 to: setTimeout(function() { $('#' + divid).find('.comment-help-link')....


24

feature-request status-completed (GitHub issue) Can we have the auto link appear when completing a custom "off-topic" closure reason? Bonus points if we can declare certain auto-comments to apply in this scenario (e.g. mirroring the "A" and "Q" prefix for answers and questions). Perhaps "C" for closure reasons?


19

Change Log On 2016-02-12, SOOF was renamed to SOX and rewritten by ᔕᖺᘎᕊ and ᴉʞuǝ. The versioning was reset. 2020-10-19 - v2.7.0 Fix bugs in various features (thanks @double-beep for many of these!) Add feature to copy markdown for comments Add feature to add scrolling to room list in usercards in chat Only run SOX on HTTPS Deprecate "add timeline ...


15

Inheriting indention when pressing enter What I'd like to suggest is that if you press enter, the indentation is copied from the line you're coming from, and then automatically put before the next line. This would make it a bit easier to type out code on SO. Of course this would create the problem that people who would want to end their code would be ...


13

Bug Report (status-completed) Go to a tag page, for example this one. You will see a question, such as this: Find the vote and answer count on the left. Click the vote count. You will then get a message in the error console that says Post ID not found! Please report this at http://stackapps.com/q/3082/9699 So now I'm reporting it.


11

Good idea. There's a few minor niggles, though: Don't use unsafeWindow, this will break in Chrome and will not even work in Firefox+Greasemonkey if the effective @grant changes. Avoid leading * wildcards in @includes, if you can help it. This is a big performance hit. @match limits the wildcard scope and performs much better and reports the sites/...


11

Feature requests Know a fix that should be included in SOUP (or an issue that could be fixed)? List it here. Future plans Plans for the long-term future of SOUP 2.0: Break up the monolithic SOUP.user.js file into multiple files, separating the actual fixes from the framework and metadata. Use a (Perl?) build script to assemble the pieces into the ...


10

bug Clicking on the icon won't reveal the comment-box anymore. One has to click the "add comment" link, for the comment box to appear, then click on the script icon to add the reply signature into the revealed comment-box.


9

Here's a small and simpler updated fork. It adds only the timeline link: // ==UserScript== // @name Stack Exchange Timeline Link // @namespace stackoverflow // @description Add a 'timeline' link to Stack Exchange / Stack Overflow posts - based on http://stackapps.com/questions/2047/add-timeline-and-revisions-links/4238#4238 // @include ...


9

Inline tag edit requires 10k rep, but 2k rep is enough to edit questions (therefore, do retags). However, inline API is much easier - you just do the post, which contains tags only. Doing full edit requires accessing postable questions body. I've done quick modification to your script. It's a draft, but working for me... it activates edit mode, waits until ...


9

feature-request status-completed Can you implement some kind of support for those of us who are fine with any pronoun, i.e., have no preference? I realise I could probably write something like don’t/care into my profile, but that would be weird for those who visit my profile and are not aware of this script.


8

Ok, not a answer but some visuals how to get it going for dummies like me. Install Greasemonkey (for Firefox) or Tampermonkey (for Chrome) - I'm using Greasemonkey for this post, but it's the same for Tampermonkey -- you will get a new icon on the top right of your menu bar AFTER restarting Firefox. Install the Script: While you are still logged in to ...


8

bug/feature-request status-completed Strip out the http://my.pronoun.is/ portion of the pronoun tag under the username, seeing as how you can't click on it anyway.


7

Foreword: I have absolutely no idea what I did. The above script did not work in Chrome. Therefore, I read through some documentation about user-scripts and found that Chrome does not support unsafeWindow. Digging further, I found this answer where @tghw describes how to mimic the behavior. Combining your selector with the approach in the answer gives a ...


7

Not sure which posts you should setup with this script? I made a quick SEDE query to help you find common duplicate target posts for your tag of choice. https://data.stackexchange.com/stackoverflow/revision/909952/1132398/most-common-duplicate-targets-for-a-tag TopItems it the max items you want back. Probably good to leave this less than 50. TargetTag is ...


7

Yep! // ==UserScript== // @name Decorated Cursor // @version 2 // @description Get the fancy mouse found in the 2019 April Fools theme network-wide! // @author a stone arachnid // @include https://*stackoverflow.com/* // @include https://*superuser.com/* // @include https://*serverfault.com/* // @include https://*...


6

Excellent script, much needed. I adjusted the following to make it work: changed live by $(document).on( 'keydown', 'textarea[name=comment]', function(e) {}) added metakey so it works on Macs (e.ctrlKey||e.metaKey) And other improvements: only runs when viewing a question or in the Review/Task pages. changed @include by @match using a format that catches ...


6

Feature Request Can we get a setting to show the counts automatically without clicking?


6

The following performs better: @match is much less resource intensive than regex includes. Not all platforms support regex includes. Run at doc start so that don't have to wait for most of the page to load before redirecting. Use location.replace so that browser history is not filled with junk pages and back button works as expected. All SE sites are ...


5

I forked the script to create some quick-insert buttons. Given how often I make use of this, I wanted to save the extra click.


5

I adapted the script to add an arrow before any <pre> that contains scrollbars, using the following function modified to account for horizontal and vertical scrollbars. Here's the script in action in some innocent code blocks that have lots of hidden stuff. GIF recorded before moving the arrows to the right. It only runs when viewing a question or ...


5

Bug report (status-completed) It doesn't work for the new Stack Overflow em Português. The following @match entries in the script: // @match http://stackoverflow.com/questions/* // @match http://meta.stackoverflow.com/questions/* // @match http://stackoverflow.com/review/* // @match http://meta.stackoverflow.com/review/* /...


5

Bug Report (status-completed) This script is no longer working as of yesterday (12/20/2018) for me on any SE site, it looks like StackExchange redesigned the voting buttons. Clicking on the score of a post now has no effect whatsoever. I'm using Chrome 71 on Windows 10 if it matters. It looks like this script was broken by the same UI change that made the ...


5

feature-request status-completed Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :( Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses ...


5

Known bugs Browser specific issues Opera Note: These issues mainly apply to older versions of the Opera browser. Since version 15, Opera has switched to the the Blink rendering engine also used by Chrome, so some of these issues may be gone (but some of the Chrome-specific issues listed below may apply instead). More testing is needed. Markdown editor ...


5

Change log The SOUP change log has grown too long for a StackApps post. You may view it on GitHub instead.


5

Source: See GitHub: Stack Exchange, replace badge icons with duckies... and post bug reports and pull requests there. Install: Install from GitHub Made some tweaks as follows: June 01, 2019: Turned on styling for network-user pages. Fixed a race condition / GM_addStyle bug whereby the styles were not sticking for certain page loads. November 16, 2018: ...


5

If not available already, can we have a version of that user script applying for Meta Stack Overflow please? We face the very same problem there frequently.


Only top voted, non community-wiki answers of a minimum length are eligible