Hot answers tagged

10

While this is not available I don't think SE can do much to prevent it. I don't have any easily readable code to give you code example, but the theory is following: The upload request: To upload images to Stack Exchange, you must send following POST request to https://__HOST__/upload/image: fkey: we'll talk about this token later source: web/computer ...


4

Does not work on Firefox with NoScript addon - even if github.com is explicitly allowed, and even if NoScript is set to "Allow Scripts Globally (dangerous)", one still gets in Error Console (Ctrl+Shift+J) in Firefox: [NoScript] Blocking nosniff Javascript served from https://raw.github.com/Manishearth/Manish-Codes/master/StackExchange/ThumbnailUpload/...


3

Stack Exchange supports the width attribute; see "What HTML tags are allowed on Stack Exchange sites?". The answer to that question emphatically states: You must enter the tags exactly as shown. Any deviation from this list—adding extra spaces, using single quote or no quotes, etc.—means the tag will be stripped. and: The attribute order is important! ...


2

feature-request Also support pasting an image from the clipboard. Thank you for this, this is awesome. But if you also add the paste feature that imgur has (it also works on Stack Exchange posts, hit the "insert image" icon and Ctrl+V), I will worship you1. 1: For very specific definitions of "worship." Offer void on weekdays or days that start with "S." ...


2

I've got a couple suggestions for improvements, based on my use of the script. First, deal with duplicate links. If I've linked to the same source twelve times, there's no need to archive that link twelve times. The script should grab each unique link from the post before trying to archive them. Secondly, don't try to archive every link at once. If you're ...


1

As you have discovered, you cannot do this with the current API. See, and upvote, this related feature request: Is there an API to upload images to SE's imgur installation? See, also, Using the Stack Exchange API to update my user profile? on Meta Stack Exchange. Your only current possibility is to manipulate the user's normal profile page, if you can. ...


1

Check out my userstyle version that does essentially the same (use with stylish stylus or adapt into a userscript): /* SE chat − safe for work image oneboxes */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("chat.stackexchange.com") { .ob-image, .ob-youtube {opacity: 0.1 !important;} .ob-image:hover, .ob-youtube:hover {opacity: 1 !...


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