[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/j/ - Janitor & Moderator Discussion

Name
Options
Comment
File
  • Please read the Rules and FAQ before posting.



File deleted.
Hi all, how are your admin duties coming along?
I am the OP of >>5093 and posted my suggestions last month regarding janitoring/moderating improvements for the team.

When no reply about changes were forthcoming, I decided to help extend the functionality of 4chan myself, simply because I couldn't stand trying to decipher the squabbling of users any longer from scattered reports.

I have no idea if such an extension already existed, but I treated coding this as a beneficial exercise in learning web dev languages.
>>
File: PostHighlighter2.jpg (658 KB, 1200x1842)
658 KB
658 KB JPG
>>5219
Actually I planned to write a lot more functionality to my extension, but I decided to adopt a release and see attitude.

First off, is a post highlighter which retrieves reports for the board your are on, and highlights posts which have been reported in yellow. I hope this will be a step forward in understanding why certain posts are reported and the drama behind them.
>>
File: DoubleClick.jpg (388 KB, 1200x1150)
388 KB
388 KB JPG
>>5221
Being lazy, I also added a function to toggle the [Delete] checkbox by double clicking in the post rectangle panel. This is just to reduce the time spent trying to check the box, not for mass deletion abuse.
>>
File: ClearBtn.jpg (173 KB, 640x548)
173 KB
173 KB JPG
>>5223
Initially I also did an attempt for a clear button.

But after many issues and failed attempts at debugging, I decided to leave it alone, considering that an extraction of the data-tkns token might be unsafe for security issues.

This function is not implemented as of now, but left as an suggestion for the web devs to consider.
>>
File: PostSort.jpg (51 KB, 391x285)
51 KB
51 KB JPG
>>5224
And finally, I was about to write a sorting function for the report queue.
However, on the next day, I saw that the mods are already working on it.

This will be put on hold pending consideration of the changes made by mods.
>>
File: LearningMaterials.jpg (512 KB, 1336x750)
512 KB
512 KB JPG
>>5225
I apologise if my code is funny or weird. Basically this is my first attempt at an userscript 1 month into picking up 2 web coding books, googling around, and reverse engineering the 4chan admin js script.

The script can be used both on Firefox (using Greasemonkey) and Chrome (using Tampermonkey). Download link here:
http://s000.tinyupload.com/index.php?file_id=95234485402403657414

The file is called fchangg2005sdf.7z, and you need 7z to open it. Password used is:
coobie:anonbemeguca

In the file is a simple txt file with the codes. Look thru a tutorial on how to create a new userscript for Greasemonkey/Tampermonkey
>>
>>5226
Reminder:
Remember not to get triggered by the yellow highlights! Remember the 4chan which you love, and why you stood up to apply as a janitor/mod.

"Give people the benefit of the doubt; a creative thread might look off-topic at first glance.

People are allowed to argue; they are not allowed to *troll*.

Not everything that gets reported needs to be deleted or banned; don't hesitate to use the clear button if no rule is broken."
>>
>>5221
Okay that highlighting thing seems pretty useful.
>>
>>5228
Now you can work while you shitpost! Or at least be alerted to reports while casually surfing 4chon
>>
I'm not sure I understand you here. You've made an unofficial addon to the janitor extension that includes these new features, is that right?
Was this with the intention of making these features available to us or just a way of suggesting changes to the official janitor extension through example?
>>
>>5230
Both. Some changes are better done on the server side.
>>
File: blastfromthepast.jpg (32 KB, 554x426)
32 KB
32 KB JPG
Well fuck me, this works pretty great. Thanks a lot for this, it makes janitoring much easier.
>>
File: 1450780212868.jpg (88 KB, 1280x720)
88 KB
88 KB JPG
>>5232
No problem, glad to have helped!
Btw I named the file fchangg2005sdf.7z so that random people won't try and dl it, if anyone was wondering.



Delete Post: [File Only]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.