I'm looking for a browser extension that can:

  • add an icon and/or a shortcut to upload an image located in a predefined path in an answer or question on Stack Exchange

For example, I have defined a Dragon NaturallySpeaking voice commands that attach the image C:\Users\Francky\Downloads\Untitled.png when editing an answer (usual filename when taking a screenshot in Windows 7):

Sub Main
    ' http://meta.stackexchange.com/q/2980/178179
    ' opens the "Insert Image" dialog on SO,
    SendKeys "^g"

    ' Attach image in the dialog box
    SendKeys "{ENTER}"
    originalClipboard = Clipboard
    SendKeys "^v"
    SendKeys "{ENTER}"

    ' Click on "Add picture"
    SendKeys "{TAB}{TAB}{TAB}{ENTER}"
End Sub

I basically would like to do the same just by clicking or hitting a shortcut. I know I could use AutoHotKey, Sikuli or some other automation software but since StackExchange has many users I am wondering whether there exists some ad hoc browser add-ons.

And if possible:

  • works on Windows 7 + Google Chrome
  • free
  • would a userscript be okay or does it have to be a full fledged extension? Mar 29 '14 at 21:17
  • @NickWilde userscript would be ok too. Mar 29 '14 at 21:18
  • (+1 but I doubt this will be possible - Javascript doesn't allow you to specify locations and that is more or less the only language that would be able to make an extension/userscript) Apr 2 '15 at 19:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.