Tag Info

New answers tagged

0

Changelog I list what changed in each version here. Newest is on top. v1.1.0 (2014-10-12) Catch errors Fix a bug with logging objects Don't run if postMessage isn't supported v1.0.1 (2014-10-10) Log output in monospaced font Pad numbers in timestamps Only show the console when needed (i.e. after the first log) Add a link back to this question ...


1

Feature Request Please use a fixed-width font. Also, the alternating width of the time stamps due to the unpadded time values is pretty annoying. If that time stamp really needs to stay, then please pad the numbers so they don't move the text left and right.


0

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 ...


1

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: removed all with_jquery stuff, $ commands can run on the root (at least on Stack Exchange). encapsulated all code ...


0

I changed the @includes in the script header for the following simplified @matches: // @match *://*.askubuntu.com/questions* // @match *://*.mathoverflow.net/questions* // @match *://*.serverfault.com/questions* // @match *://*.stackapps.com/questions* // @match *://*.stackexchange.com/questions* // @match ...


0

I created another version of the script modifying: Shift + Enter submits the comment. Changed @includes for @matches using another domain pattern. Used another script injection technique. Tried to solve instances where the script would produce an error wrapping the block where the error occurs within a try{} catch(){}. Then I discovered that adding a ...


0

I'm using the following matches to run on all metas and also on SO in Portuguese. Area51 is matched by *.se.com/*. // @match *://*.askubuntu.com/* // @match *://*.mathoverflow.net/* // @match *://*.serverfault.com/* // @match *://*.stackapps.com/* // @match *://*.stackexchange.com/* // @match *://*.stackoverflow.com/* // ...


0

feature-request Right now it's a global value, but I'm thinking on keeping different settings for Homepage, Questions and Unanswered pages. Reputation is irrelevant on Homepage and Unanswered, as the user that's shown is the last editor, not the OP. The views count changes a lot depending on the actual page. Is it worthy to have different settings for ...


1

I've made a couple of fixes to make this work again. While I don't fork and ask for a merge, here it is a copy of my script for convenience, the modifications are indicated with comments. The matches of sites has been revised as well. // ==UserScript== // @name stackoverflow-comment-reply // @namespace stackapps // @description Add ...



Top 50 recent answers are included