Download IBBB.user.js from here. Create a new script in tampermonkey. Select all of the default code in the editor window and delete it. Drag IBBB.user.js into tampermonkey's editor window. Save with CTRL+S or File > Save.
enjoy ^.^
explanation / why did I make this / how did i make this / what the heck does it do?:
I got tired of having to load a full submission's pages just to copy it's thumbnail bbcode. I thought "wow..it would be really cool if I could just copy it straight from the gallery page or anywhere a thumbnail is!". So I started working on it and hit a garbage truck full of road blocks:
"No...you can't get the real coordinates for an element......oh no...copying to the clipboard is a big no no security blah blah! Selecting text is hard and requires all this complex stuff! A textarea element automatically comes with a bunch of white space and junk you don't need and you're gonna have to deal with it!"
Luckily, all that was a load of rotten donkey dung :P I did have it originally selecting the text and you'd need to hit CTRL + C. But today I woke up and thought "hey, shouldn't greasemonkey have a thing for this?". Turns out that YES they do:
"
// @ Grant GM_setClipboard
and then you can just use:
"
GM_setClipboard ()
how easy is that? :D
To use this, all you have to do is roll you mouse over a submission's thumbnail image. Then a little ghost control will appear above it. Roll your mouse over the ghost and poof, it appears! Click one of the buttons for the thumbnail size you want and presto! It's copied ^^