Be a Supporter!

GreaseMonkey scripts for NG

  • 53,473 Views
  • 643 Replies
New Topic
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to GreaseMonkey scripts for NG 2012-02-26 21:25:06

Is there anywhere a list of icon/genre mods can be found, if so, I can do this.

Oolaph
Oolaph
  • Member since: Oct. 22, 2009
  • Offline.
Forum Stats
Member
Level 21
Audiophile
Response to GreaseMonkey scripts for NG 2012-02-26 21:29:48

At 3 minutes ago, Xaotik wrote: Is there anywhere a list of icon/genre mods can be found, if so, I can do this.

Here you go.


BBS Signature
Sectus
Sectus
  • Member since: Feb. 15, 2008
  • Offline.
Forum Stats
Moderator
Level 27
Writer
Response to GreaseMonkey scripts for NG 2012-02-26 21:30:30

At 2 minutes ago, Xaotik wrote: Is there anywhere a list of icon/genre mods can be found, if so, I can do this.

Yeah, it is a little scrambled and not fit for the new redesign, but it is on www.newgrounds.com/lit/faq a long way down, there is the list of all the mods, with links to their profiles. It is under Icon Moderators.

I would still like the "Moderator" title to show, as well :p

[Join my community, weakling!] - [Report Rule-Breaking Portal Submissions] - [I don't actually have a personality]

BBS Signature
Sectus
Sectus
  • Member since: Feb. 15, 2008
  • Offline.
Forum Stats
Moderator
Level 27
Writer
Response to GreaseMonkey scripts for NG 2012-02-26 21:33:00

At 1 minute ago, Oolaph wrote:
At 3 minutes ago, Xaotik wrote: Is there anywhere a list of icon/genre mods can be found, if so, I can do this.
Here you go.

That list is not accurate, whereas the one I have provided is updated automatically.


[Join my community, weakling!] - [Report Rule-Breaking Portal Submissions] - [I don't actually have a personality]

BBS Signature
Oolaph
Oolaph
  • Member since: Oct. 22, 2009
  • Offline.
Forum Stats
Member
Level 21
Audiophile
Response to GreaseMonkey scripts for NG 2012-02-26 21:35:36

At 26 seconds ago, Sectus wrote:
Here you go.
That list is not accurate, whereas the one I have provided is updated automatically.

Ah, it didn't seem correct, but I figured I'd trust it since it was there on the wiki.


BBS Signature
Expectrum
Expectrum
  • Member since: Dec. 29, 2005
  • Offline.
Forum Stats
Member
Level 29
Musician
Response to GreaseMonkey scripts for NG 2012-02-26 21:41:13

At 45 seconds ago, Oolaph wrote: Ah, it didn't seem correct, but I figured I'd trust it since it was there on the wiki.

Most information on the Wiki is either outdated or incomplete at the moment. I miss the non-horribly-looking FAQ page.


BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to GreaseMonkey scripts for NG 2012-02-26 21:41:25

I guess I could try my hand at a script that downloads a new copy of that list every week or so and writes it to the browser's storage. As far as the icon changing, thats literally as easy as swapping the class name of one element from "-[aura]" to "-mod"

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to GreaseMonkey scripts for NG 2012-02-26 22:49:00

Making the requested script now guys, almost done.

Expectrum
Expectrum
  • Member since: Dec. 29, 2005
  • Offline.
Forum Stats
Member
Level 29
Musician
Response to GreaseMonkey scripts for NG 2012-02-26 22:57:53

At 3 minutes ago, Xaotik wrote: Making the requested script now guys, almost done.

You sure are diligent when it comes to making these. You're an extraordinary member :)

I remember that before the redesign I used a script that allowed me to copy the direct link to any review. Is there already a new one compatible with the current design, or is it possible to develop? If so, that would be extremely convenient for reporting stuff to review mods.


BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to GreaseMonkey scripts for NG 2012-02-26 23:14:58

At 14 minutes ago, YoungAndWise wrote:
At 3 minutes ago, Xaotik wrote: Making the requested script now guys, almost done.
You sure are diligent when it comes to making these. You're an extraordinary member :)

I remember that before the redesign I used a script that allowed me to copy the direct link to any review. Is there already a new one compatible with the current design, or is it possible to develop? If so, that would be extremely convenient for reporting stuff to review mods.

I suppose I could try that too, also, as far as updates go, I'm just about to code the last part of this script that keeps an up-to-date list of the mods.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to GreaseMonkey scripts for NG 2012-02-27 00:00:47

Ok, the script is pretty much done. It currently does everything it's supposed to, changes to gold aura and replaces the "Member" text with "Moderator". I'm going to release tomorrow though, I have an important event to go to tonight, and I'd like to implement a system where it only updates it's list once a week to avoid making tons of downloads from NG.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to GreaseMonkey scripts for NG 2012-02-27 16:51:03

Alright guys, sorry about the little hold up.

Script Name: ReModder

Features:

- Gives icon mods (couldn't find a list of genre mods on the FAQ, but a lot of icon mods double as genre mods, hopefully I can fix this soon) the gold aura and puts "Moderator" next to their name.

- Saves the list of icon mods to your browser's localStorage, and updates once every two days. This means that it will take the script a little while to recognize newer mods added to the list, but it will avoid making tons of HTTP Requests to Newgrounds for no reason, and the saved data can be read almost instantly.

- I've capped the data at a capacity which should (in theory) be able to save the names of 400-600 icon mods, so you should literally never run out of storage space because there are not even close to that many icon mods.

- The script has been minified, making it's download size a mere 3KB, if you'd like source code though, PM me.

Verified to work for: Chrome, FireFox 10.0.1+ (this one was a pain to debug on FF for a really stupid reason, but it should be 100%)

Please note though, this uses HTML5 Local Storage, every newest version of the popular browsers supports this feature. The script will warn you if your Local Storage is disabled, so make sure its on or the other features of the script won't work.

Download Link

Expectrum
Expectrum
  • Member since: Dec. 29, 2005
  • Offline.
Forum Stats
Member
Level 29
Musician
Response to GreaseMonkey scripts for NG 2012-02-27 18:40:07

At 1 hour ago, Xaotik wrote: Alright guys, sorry about the little hold up.

Script Name: ReModder

Works like a charm on Firefox 10.0.2.

Thank you :D


BBS Signature
knugen
knugen
  • Member since: Feb. 7, 2005
  • Offline.
Forum Stats
Member
Level 42
Programmer