Be a Supporter!

GreaseMonkey scripts for NG

  • 52,420 Views
  • 655 Replies
New Topic
EJR
EJR
  • Member since: Mar. 24, 2008
  • Offline.
Forum Stats
Moderator
Level 33
Animator
Response to GreaseMonkey scripts for NG 2012-02-25 03:33:08

At 11 hours ago, Xaotik wrote: Here's a public BETA of Eagle Eye.

Not working on Chrome OR Firefox for me

Latest versions :-(


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

At 1 hour ago, EJR wrote:
At 11 hours ago, Xaotik wrote: Here's a public BETA of Eagle Eye.
Not working on Chrome OR Firefox for me

Latest versions :-(

Make sure localStorage is enabled (it might be called something else like "DOM Storage"/"Site Storage"), and also open the Dev console in Chrome, (Firebug probably works a bit better on FF) and see if you can spot any errors. I did check for errors fairly thoroughly, but if something pops up, shoot me a PM. Best of luck. I'm posting from my phone right now, so I'll take a second look at the script when I'm back at my desktop.

EJR
EJR
  • Member since: Mar. 24, 2008
  • Offline.
Forum Stats
Moderator
Level 33
Animator
Response to GreaseMonkey scripts for NG 2012-02-25 14:35:02

At 9 hours ago, Xaotik wrote: Make sure localStorage is enabled (it might be called something else like "DOM Storage"/"Site Storage"), and also open the Dev console in Chrome,

I have no idea how to do this..


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

Well, Chrome defaults to having it on, so if you haven't messed with the settings, it should still be on.

Also, for the console, Wrench Button > Tools > Javascript Console.

Anything in red is an error, yellow is a warning.

And the source of the error will be chrome://extensions... if its from a script.

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

Well guys, I really don't like quitting, but the code for Eagle Eye has topped 800 lines, and I feel that I could do a better job with it. My vacation, however, is over. I'm not saying I'm quitting on this script, but I've decided to shelve it until I have the time to go back through the code and optimize everything so it runs smoother.

And don't worry... when I do pick it back up, I'll hit every item I've put on the to-do list.

Until then, here is the most functional beta, version 0.6.0. Same pinning/search as before, along with a clear search button and sorting options.

I'm back to writing smaller scripts for the time being and taking requests too.
Sorry about this, guys, its just that work is back to regular speed for me...

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

Would it be possible for me to request a new script that was originally made before the redesign? Basically it was a script that made icon and genre mods have the gold aura. If that is not possible, I would appreciate a script that just allowed me to view my aura as gold, with the "Moderator" text.


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

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: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