Posted by: boredTech
Posting time: 1.8 years ago on 2/17/2019 2:35:08 AM
Last edit time: 1.8 years ago on 2/17/2019 2:35:41 AM
Archived on: 5/18/2019 10:00:00 AM
Views: 193
SCP: 8
8 upvotes, 0 downvotes (100% upvoted it)
~1 user(s) here now
This is the official subverse related to Voat development.
You can find API related questions, update news, how to get involved etc.
This is the best place to report problems, bugs, and technical issues on the site.
See also:
v/Announcements (Official Announcements) v/IdeasForVoat (Got an idea, post it here) v/Introductions (A place for hellos) v/ReportSpammers (yep, go here to Report Spammers) v/Voat (Official place to discuss Voat-related things)
v/Announcements (Official Announcements)
v/IdeasForVoat (Got an idea, post it here)
v/Introductions (A place for hellos)
v/ReportSpammers (yep, go here to Report Spammers)
v/Voat (Official place to discuss Voat-related things)
API: https://api.voat.co
/v/voatdev chat: https://voat.co/chat/A68644CB067F40848134D866F79069DF
The Top Secret Preview Site
Preview site may be up or down depending on if we are actively testing. It's also slow so there is that.
NSFW: No Authorized: No Anon: No Private: No Type: Default
Content violates spam guidelines
Content contains or links to content that is illegal
Content contains personal information that relates to a Voat users real world or online identity
Content or User violates User Agreement
Hi, it looks like you're new. Welcome to Voat!
Voat is a censorship-free community platform where content is submitted, organized, moderated and voted on (ranked) by the users.
DISCUSSION Archived GreaseMonkey Script (voatdev)
submitted 1.8 years ago by boredTech
Just a small greasemonkey script to fuck with spammers.
// ==UserScript== // @name voat // @namespace https://voat.co // @description spam killer // @version 1 // @grant none // @include https://voat.co/* // ==/UserScript== var spammers = [ "killer7" ]; console.log("started"); $(document).ready(function(){ for each (var ass in spammers) $("div.submission").has('a[href="/u/' + ass + '"]').hide(); }); console.log("done")
view the rest of the comments →
[–] PuttItOut 0 points 4 points 4 points (+4|-0) 1.8 years ago
Well, we use jquery on the UI, so if you put this in a package you can use jquery and any other js Voat has, as well as the api.
I didn't see anything in your script(s) that wouldn't work (but perhaps I missed something).
I'd be very curious to get your thoughts on the packages feature. Let me know if you decide to play and have any questions.
[–] boredTech [S] 0 points 3 points 3 points (+3|-0) 1.8 years ago
interesting. So, I dropped in the second version (people upvoated), and it worked. But, my final one has
for each ...
which was giving the error of wanting an ( after the for. Now to nab the user name so that it blocks for whatever user subscribes to the package.
[–] PuttItOut 0 points 3 points 3 points (+3|-0) 1.8 years ago
I'll ping you some package links on preview with demos for api and state.
There is full api access so if you decided to make this a thing you can save new blocks and other fun stuff.
view the rest of the comments →
[–] PuttItOut 0 points 4 points 4 points (+4|-0) ago
Well, we use jquery on the UI, so if you put this in a package you can use jquery and any other js Voat has, as well as the api.
I didn't see anything in your script(s) that wouldn't work (but perhaps I missed something).
I'd be very curious to get your thoughts on the packages feature. Let me know if you decide to play and have any questions.
[–] boredTech [S] 0 points 3 points 3 points (+3|-0) ago
interesting. So, I dropped in the second version (people upvoated), and it worked. But, my final one has
which was giving the error of wanting an ( after the for. Now to nab the user name so that it blocks for whatever user subscribes to the package.
[–] PuttItOut 0 points 3 points 3 points (+3|-0) ago
I'll ping you some package links on preview with demos for api and state.
There is full api access so if you decided to make this a thing you can save new blocks and other fun stuff.