Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Valeyard
Mar 30, 2012


Grimey Drawer
Latest feature

You can now paste images (via right click) directly into the reply box and they will be uploaded to Imgur and then the link (wrapped in IMG tags) will be pasted in the reply box at the cursor location.

Also you can drag images from your comp right into the post box to do the same thing.

http://a.pomf.se/tuqikc.webm



Get it here: https://chrome.google.com/webstore/detail/sa-needful/bipfbhacdgoojjfblifgjadhabepbekm

Works in
• Chrome
• Opera*

*Opera is now so similar to Chrome that it can install Chrome extensions directly from the Chrome Web Store link that I posted above, but first you must add this Opera extension and then visit the Chrome store page for SA Needful

Other features
• Embed Tweets
• Embed Vines
• Embed webm video
• Highlights posts you are quoted in, works in YOSPOS too
• Old style breadcrumbs
• Can colapse and expand forum categories in the main forum listing index
• Add specific forums to your favourites, and they appear at the top of the forum listing
• Bold your username if it appears in posts

Unfinished and useless stuff
• the lazy loading of images
• snyping
• can switch on the option to show/hide avatars by clicking anywhere in the avatar area
• add a Tweet This button to your posts, to Tweet out your posts. Really slows down the page if you have lots of posts on it
• word filters
• alternate layout for the forum listing

Valeyard fucked around with this message at 02:49 on May 24, 2015

Adbot
ADBOT LOVES YOU

Valeyard
Mar 30, 2012


Grimey Drawer
The other thread got archived and I have time to work on this again so here we go. Please report bugs and I'll fix them

Valeyard
Mar 30, 2012


Grimey Drawer

Silver Alicorn posted:

can I get it as a greasemonkey script

It exists as an extension so that people can turn features on/off as they like, which I can't really do in a userscript. But sure, I can clean it up and deliver it as a userscript with just the good and useful stuff on


newreply.php posted:

also OP please "do the needful" ;) and change your av because whenever i see it im anticipating a funny post to its right

It looks like g0m is a fyad IK or mod just now so it would probably just get changed back, so it stays for a while

horse mans posted:

thanks valyeyard, this will totally optimize my forums posting workflows and pipelines

That's why I use it, it massively increases my posting pleasure. For example, here is my forum index:

Valeyard fucked around with this message at 21:41 on May 23, 2015

Valeyard
Mar 30, 2012


Grimey Drawer

fermun posted:

you should make it so that if someone posts .gifv from imgur it embeds it like if they post .webm, i'm pretty sure gifv is even a webm just with a different extension that makes it not embed properly.

Yeah good shout that should be an easy one

Valeyard
Mar 30, 2012


Grimey Drawer

ZShakespeare posted:

not does it work with the worlds most advanced web browser on the worlds most advanced os?

this was brought up a few times in the old thread, and then I eventually made it work and I don't think anyone used it. I don't think I can sign it with the dev cert anymore since I dont have the mac

Valeyard
Mar 30, 2012


Grimey Drawer

Larry Parrish posted:

This is one of the worst SA plugins ever made. Congratulations.

What makes you say that?

Valeyard
Mar 30, 2012


Grimey Drawer
https://twitter.com/CarltonCuse/status/604775015217655808

https://twitter.com/thetvbuddy/status/604758409372516352

http://i.imgur.com/9wXrRWT.gifv

https://vine.co/v/OLhXLIz116l

Valeyard fucked around with this message at 00:37 on May 31, 2015

Valeyard
Mar 30, 2012


Grimey Drawer

Smythe posted:

bless you for this powerful and ownage extension valeyard. :worship:

i just saw the av, the warrior is back, hell yeah :worship:

Valeyard
Mar 30, 2012


Grimey Drawer

The Management posted:

please do your online banking while running this extension written by a goon

it can only run on forums.somethingawful.com/* domains

https://twitter.com/sundownmotel/status/604768468706029568

https://twitter.com/CarltonCuse/status/604775015217655808

Valeyard fucked around with this message at 23:26 on May 30, 2015

Valeyard
Mar 30, 2012


Grimey Drawer
http://a.pomf.se/sxpbys.webm

• Livestream - so when you hit that button it makes the thread auto add any new posts every 7 seconds (might make this smaller). Unread posts are highlighted in green (I'll adjust it for amberposlater). Using the navbar at the top you can overlay video on the screen, which you can resize, move and make transparent. The idea is to use it in a thread for keynotes and poo poo. I still need to add a quick reply so that you can actually participate in the thread
• gifv links now embed the same way that webm does
• Spoiler tag shortcut - when making a reply, if you highlight some text and then hit CTRL and ALT it will wrap the selected text in [spoiler] tags
• post previews now behave as expected and will show the embeds/highlighting that the script does
• webm/gifv no longer are constrained to an arbitary height and width, and will max out at 50% screen width. The small vids won't be stretched out, and the big vids won't take up the whole screen
• the shitheap of Javascript is now less of a shitheap and easier to maintain
• removed some stuff that probably wasn't being used - the click-to-toggle avatars, the word filters, the back/forward shortcut keys
• fixed some style stuff, still more to do

Valeyard fucked around with this message at 02:21 on Jun 1, 2015

Valeyard
Mar 30, 2012


Grimey Drawer

Fayez Butts posted:

this is a cool extension but it breaks the ability to click on the little image dimensions box in a timg to scale it up to full size

like this oen



Oops I see what you mean, I think I know whats wrong

Larry Parrish posted:

It looks like poo poo and all of the features are barely functional. I like making webms and gifvs embedded but just about everything else is retarded.

I already removed most of the halfassed stuff. I'm having to workaround SALR to make sure stuff doesn't conflict

Valeyard
Mar 30, 2012


Grimey Drawer
a mouse gesture in which you click on someones avatar and then angrily shake your mouse in a complete rage and it reports that user

Valeyard
Mar 30, 2012


Grimey Drawer
a mouse gesture where you move your cursor in the shape of a cock and balls and it loads up your favourite porn site

Valeyard fucked around with this message at 01:56 on Jun 6, 2015

Valeyard
Mar 30, 2012


Grimey Drawer
https://www.youtube.com/watch?v=juOZp0Tc4KI

Valeyard fucked around with this message at 01:57 on Jun 6, 2015

Valeyard
Mar 30, 2012


Grimey Drawer
whitenoise

Valeyard
Mar 30, 2012


Grimey Drawer
sdsdfsdfsdfsd

sdfsdfsdfs

https://www.youtube.com/watch?v=juOZp0Tc4KI

Valeyard fucked around with this message at 02:14 on Jun 6, 2015

Valeyard
Mar 30, 2012


Grimey Drawer
https://d.maxfile.ro/uekzpwgqyr.webm

• quick reply - Open the quick reply box by hitting the "Quick" button thats on any post, it doesn't matter which one you hit. The drag n' drop image upload works here, and it should also parse youtube links the way the main reply box does. When you have the quick reply box open and you hit a quote button on someones post, it will add the quote into the quick reply box. If the quick reply box is NOT open then the quote buttons behave like normal. After a post is made it will update the page with your post + any posts made in the meantime

it probably makes more sense that hitting the Quick button on any particular post would bring up the box + quote the post you clicked, i guess, maybe

also turn on sound for that vid

Valeyard fucked around with this message at 02:06 on Jun 6, 2015

Valeyard
Mar 30, 2012


Grimey Drawer

Fayez Butts posted:

make all youtube embeds use res="hd" automatically

sure. It also needs to parse the t=123s stuff so that it adds in start="123"

Valeyard
Mar 30, 2012


Grimey Drawer
ive changed it so that clicking on the Quick buttons on individual posts will bring up the quick reply box with that post quoted. otherwise hit the quick button at the top/bottom of thread to bring up empty one

this should all appear sometime soon

Now that this is mostly finished it will be easy to add a quick edit ability that will look the same

Valeyard
Mar 30, 2012


Grimey Drawer
i fixed the quick reply box so that it will parse youtube links with start times in them, it also adds the image tags if you paste a picture link the same way the normal reply box does, and adds the right tags to normal links

Migishu posted:

quick reply border needs to switch between amberpos and greenpos depending on what that person is currently using (if not possible, allow us to change it somehow

tia

also

done

Valeyard
Mar 30, 2012


Grimey Drawer

reddit liker posted:

quick replying to a thread with bookmarks enabled doesn't add that thread to the threads you have bookmarked, not sure if this can be fixed client-side

Probably, that should be fine, I'll check later

Valeyard
Mar 30, 2012


Grimey Drawer

As a Millennial I posted:

thank you for the :qq:, valeyard.

it doesnt work sometimes and im not sure why :iiam:

reddit liker posted:

quick replying to a thread with bookmarks enabled doesn't add that thread to the threads you have bookmarked, not sure if this can be fixed client-side

ok yeah so by default the quick reply will now use the bookmark setting you have set

OSI bean dip posted:

can you please share the github that you're putting this source code on kthx

otherwise good work

https://github.com/valeyard/yosplus

Valeyard
Mar 30, 2012


Grimey Drawer

Celexi posted:

why doesn't the extension icon hide when out of something awful, chrome magic tools for youtube hides itself when you are out of youtube so i guess you can do that

you would think that it would automatically show/hide the icon based on the "websites this extension runs on" list, but it doesnt work that way. you need to manually add in some horrible code in a background script to make it happen

code:
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
    chrome.pageAction.show(tabId);
    chrome.pageAction.setTitle({
        tabId: tab.id,
        title: "YosPlus Settings"
    });
});
ill try and fix it though because it annoys me too

e; a quick trip to stackoverflow and thats sorted

Valeyard fucked around with this message at 16:42 on Jul 29, 2015

Valeyard
Mar 30, 2012


Grimey Drawer

Segmentation Fault posted:

"Highlight posts where you are quoted" makes my quotes appear black on grey forums

also you misspelled bandwidth

great extension otherwise

yeah i had it highlight the quotes in grey forums before the yellow quote was added to the actual site, i left it in because i found it easier to read but ill probably just turn it off now and let the actual site deal with it

Valeyard
Mar 30, 2012


Grimey Drawer

Migishu posted:

feature request: when using quick quote, have a hotlink in the top left or something to open up the smileys list, because lol if I can remember all the smileys

reasonable request

Migishu posted:

suggestion: make the Emptyquote! button like the quick post button, where it just does it without going to the "YOU POSTED A poo poo THING ON THE WEB" page

yeah that should be easy too, i done the emptyquote thing a long time ago and did it the quick and dirty way

Valeyard
Mar 30, 2012


Grimey Drawer
if the audio option is turned on then its so loud that it might make your head explode

Valeyard
Mar 30, 2012


Grimey Drawer
im gonna fix a bunch of things today that have been mentioned itt recently, including the weird encoding problem with quick reply, so if theres any other problems please lemme know

Valeyard
Mar 30, 2012


Grimey Drawer

Celexi posted:

please dont forget to make it hide when out of sa!

ive done that already just havent pushed the update out, im dealing with some horrible encoding problems just now

Valeyard
Mar 30, 2012


Grimey Drawer
Β“typeΒ”: Β“articlesΒ”

Valeyard
Mar 30, 2012


Grimey Drawer
this is what the input box looked liek for the above post, where is it pulling that poo poo from

Valeyard
Mar 30, 2012


Grimey Drawer

Fayez Butts posted:

works for me. did you copy and paste it or type it in?

dont worry about it, its just lovely poo poo poo poo

Valeyard
Mar 30, 2012


Grimey Drawer
http://webm.host/092a8/vid.webm

Quick smilies - I stole this idea, I think from a BYOB guy, but clicking the smilies will pop up a panel with all the smilies. You can type in letters to filter out the massive list, click a smilie will add it to the quick reply box at the latest position of the cursor/caret, the smilies you use will be listed at the top for quicker access

-non ascii characters are stripped out from the quick reply box, it was causing too many issues otherwise
-emptyquote now works like the quick reply, you get warning (button turns red) if it didnt work (only happens if you attempt to post too quickly)
-the icon in the navbar only shows up on the forums now

Valeyard fucked around with this message at 17:30 on Aug 10, 2015

Valeyard
Mar 30, 2012


Grimey Drawer

Migishu posted:

:firstpost:



smiley added through quickpost feature

i have no idea why it adds in newlines after them, ill see if i can change it

Valeyard
Mar 30, 2012


Grimey Drawer

Migishu posted:

bug found: using the quick post smiley feature doesn't close the smiley page upon clicking post

request: any way to make videos not auto-play from non youtube sources?

oops, yes and yes quick fixes, ill add the autoplay as a toggle option

also if it detects any kind of nsfw warning in a post ill try to make it not embed webm/gifv

Valeyard
Mar 30, 2012


Grimey Drawer

Migishu posted:

awesome

thank you again for this sweet shitposting addon

:tipshat:

Valeyard
Mar 30, 2012


Grimey Drawer

Migishu posted:

request: any way to make videos not auto-play from non youtube sources?

it looks like there is no way to touch the autoplay setting for vines, it is forced to be their way which means it autoplays as it scrolls into focus (but with audio muted) (if anybody knows otherwise please tell me)

gifv/webm on the other hand is fine

Friendly Tumour posted:

please add an option to toggle the emptyquote button for us who like analog amptyquota. thank you

i mean, you dont HAVE to click it, the other quote buttons still work

Valeyard
Mar 30, 2012


Grimey Drawer
i think all those bugs are gone now

Adbot
ADBOT LOVES YOU

Valeyard
Mar 30, 2012


Grimey Drawer

KOTEX GOD OF BLOOD posted:

can it automatically not embed links in posts taht also say "nsfw" so i can browse yospos at work without a gif of a cat pawing at a dudes boner coming up on teh screen

yeah ill fix that later

  • Locked thread