xkeeper

welcome to my personal hell

dragon warrior iii for the game boy color describes me as "stubborn", and i'm tempted to agree with that assessment


co-owner tcrf.net. i run an old forum, jul.
i've been around the internet since '01.
i generally feel like the internet
peaked somewhere around '07.


private: @xkeeper-PLUS
18+: @xkeeper-TI


plural / some kind of digital therian thing.
still discovering myself.
all of this is new to me.


discord / telegram
@xkeeper
signal
Xkeeper.99

i have a simple file uploader for my website, a php script i cobbled together a few years ago and keep using because it's easier than dealing with a whole client.

the main thing i really, really would like for this -- to make my life immensely easier -- is pasting an image to upload.

if there's any particularly simple ways to do this i am all ears. i'm not against doing stupid shit on the server side afterwards -- likely at least having a text field to specify a filename or whatever -- but the browser side is beyond me.


You must log in to comment.

in reply to @xkeeper's post:

I think this should work. If you just copy the <script> element to the bottom of your page and replace the string on line 21 with the ID of your <input type='file'> tag, pressing Ctrl+V anywhere on the page should put the contents of your clipboard into the file selector.