Skip to main content
23 events
when toggle format what by license comment
Jul 20 at 23:12 comment added Lauloque Mod Latest versions of BSE require only HTTPS picture links instead of HTTP, could you update please? :)
Jan 2 at 23:39 comment added Lauloque Mod I made an adaptation of it for Blender Community, just the keyboard shortcut part.
Mar 30, 2018 at 20:59 history edited gandalf3Mod CC BY-SA 3.0
deleted 26795 characters in body
Mar 30, 2018 at 3:44 history edited gandalf3Mod CC BY-SA 3.0
Version 7: Replace "window" with "document.defaultView", attempt to fix SE redo conflict, add more keywords for TEH LINUXEZ
Mar 16, 2017 at 15:51 history edited CommunityBot
replaced http://meta.blender.stackexchange.com/ with https://blender.meta.stackexchange.com/
Jul 22, 2014 at 2:20 history edited gandalf3 CC BY-SA 3.0
changed name
Jul 22, 2014 at 2:15 history edited gandalf3 CC BY-SA 3.0
added 17597 characters in body
Jun 27, 2014 at 23:33 history edited gandalf3 CC BY-SA 3.0
added 114 characters in body
May 12, 2014 at 21:44 history edited gandalf3 CC BY-SA 3.0
added 944 characters in body
May 5, 2014 at 14:01 comment added CodeManX For me, Ctrl+Y is fine, 'cause it's the closest key to Left Ctrl on my German keyboard ;) Ctrl+E is used by both browsers, so better not overwrite default behavior. You can optimize PNGs using tinypng.com, which uses pngquant.org. insertAfter doesn't work, 'cause every button has an offset (left: 25px * n, where n is the index). To insert another button, you would have to get the previous offset and add 25px to your and all subsequent buttons. @iKlsR: It did not work on Chrome apparantly, might be caused by its sandboxing / same-origin-policy. It does in Firefox however.
May 5, 2014 at 9:08 comment added iKlsR Mod Really didn't see the need for a dependency tho.
May 5, 2014 at 8:50 history edited gandalf3 CC BY-SA 3.0
added 31 characters in body
May 5, 2014 at 8:44 history edited gandalf3 CC BY-SA 3.0
deleted 6608 characters in body
May 5, 2014 at 8:36 comment added gandalf3 @iKlsR Okay. Still not quite done yet, still some kinks imo (plus it's currently not working on chrome, looking at that now). Working again, jquery was used before it was loaded..
May 5, 2014 at 8:34 comment added iKlsR Mod Wow, this is really nice. Great job guys. Can we agree on one final version. @gandalf3 Would recommend uploading to userscripts.org so it can be 1 click installation.
May 5, 2014 at 8:30 comment added gandalf3 I added extra space removal, so now extra spaces are removed automatically. I also scaled down the icon to 20px so it fits better, but as a result un-optimized it again :/ (idk how to optimize it). I tried to get the button li to go after the image button (it seems like the right category to me) by replacing appendTo with insertAfter("#wmd-image-button"), but it still goes at the end??
May 5, 2014 at 8:27 comment added gandalf3 Brilliant :) I didn't do anything, but the hotkey didn't give me any trouble.. On my FF Ctrl E does nothing, however chrome puts it in the url bar, so I guess that's a no go either way. It would be nice to have a key a bit closer to left Ctrl, but it doesn't look like there is one free. Is it worth breaking the theme of using Ctrl to use Alt+nearby-sensible-letter or something instead?
May 5, 2014 at 5:36 comment added CodeManX Mystery solved: the deprecated .live() worked for the hotkey, but .on() didn't - 'cause it needs to be used on document and the elements we are interested in are given as second parameter as filter! Works like charm!
May 5, 2014 at 5:13 comment added CodeManX Ok, I fixed some problems and optimized the embedded icon, works for me in Firefox. Hotkey is a bit problematic it seems, doesn't work in some cases. Back-ported my cursor placement. userscripts.org/scripts/review/486617
May 5, 2014 at 4:07 comment added CodeManX Hm ok, that } is needed, the Firefox code highlighter just can't find the matching one of main() {? Very strange. The button works like a charm, but the shortcut doesn't. Ctrl+E places the cursor in the quick search field in Firefox, Y does nothing and Z is for undo (Z and Y are swapped on German keyboards, so I checked that too...). There's a feature missing from my script: the cursor placing after button use. With no text selected, it should insert a kbd-tag and place cursor inbetween, otherwise add tags and place cursor behind the last. Also focus() the textarea in both cases.
May 5, 2014 at 3:54 comment added CodeManX Nice additions gandalf! The problem with Chrome might be the sandboxing, since we inject the user script from another source (file:/// or localhost respectively)... The shortcut is not going to work for edits, 'cause it uses an ID: $("#wmd-input").keydown(...). You might want to bind it to the class .wmd-input instead. There's a } too much at the end it seems.
May 5, 2014 at 3:02 history edited gandalf3 CC BY-SA 3.0
added 8145 characters in body
May 5, 2014 at 2:35 history answered gandalf3 CC BY-SA 3.0