Be a Supporter!

Greasemonkey Scripts For Ng V2

  • 25,421 Views
  • 246 Replies
New Topic Respond to this Topic
HollowedPumkinz
HollowedPumkinz
  • Member since: Feb. 16, 2009
  • Offline.
Forum Stats
Member
Level 16
Gamer
Response to Greasemonkey Scripts For Ng V2 2012-03-05 19:05:18 Reply

At 22 hours ago, Narcissy wrote:
At 1 hour ago, Xaotik wrote: It's called Hush!, and it will basically be a highly-featured ignore list for the BBS.
I can use this very well for some specific users.

Finally, I can ignore certain people I can't stand as of late.

How will this work if they're the OP?


Even as I walk through the shadow of the Valley of Death, I shall fear no Evil. Semper Fidelis

BBS Signature
HollowedPumkinz
HollowedPumkinz
  • Member since: Feb. 16, 2009
  • Offline.
Forum Stats
Member
Level 16
Gamer
Response to Greasemonkey Scripts For Ng V2 2012-03-05 19:31:17 Reply

Oh, har har har. I just meant how would it look, would the thread show up? Etc.


Even as I walk through the shadow of the Valley of Death, I shall fear no Evil. Semper Fidelis

BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-05 22:21:14 Reply

At 2 hours ago, HollowedPumkinz wrote: Oh, har har har. I just meant how would it look, would the thread show up? Etc.

Legitimate question. I'm planning on indicating that the user is on ignore status in the list of threads, but if you decide to click on it, then the first post will show regardless of whether or not the OP is ignored.

I suppose I can take an opinion on this. Would it be better to have something like the pic below?

Greasemonkey Scripts For Ng V2

Dosensuppen
Dosensuppen
  • Member since: Dec. 29, 2006
  • Offline.
Forum Stats
Member
Level 27
Animator
Response to Greasemonkey Scripts For Ng V2 2012-03-05 22:26:15 Reply

At 3 minutes ago, Xaotik wrote: I suppose I can take an opinion on this. Would it be better to have something like the pic below?

That works for me. That way, a placement is there, and it won't cause any screw ups. Can it it also knock off their user icons, sig, and stats? It'll make certain users more tolerable.


"Soup actually isn't a spam crew ... Except for Narcissy, that guy sucks." - ih8dude

BBS Signature
Snake-Arsenic
Snake-Arsenic
  • Member since: Feb. 24, 2007
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-06 02:49:29 Reply

At 5 minutes ago, EJR wrote: To Xaotik or any other script makers: How limited are you (in general i guess, BBS-wise or Portal-wise) in terms of making scripts? Like what's the most complex thing you can technically do with the scripts?

I'll take a stab at it.

Limitations:
Userscripts have the full language and limitations of the javascript and by extension, html available on the browser running the script. That said, they are generally a single js file that runs in it's own context to prevent websites from accessing data within the userscript and may come with some extra restrictions or features depending on the browser. The best way to find out what these are is to start coding.

One clear limitation is if we want to load resources from other files they need to have a home somewhere as they can't be included with the script.

Complexity:
Technically userscripts can do anything javascript can do and coding styles differ so there isn't an answer for the most complex they can be but scripts do range in complexity dramatically. For example, I tend to focus on simple tweaks while Xaotik's scripts tend to be more complex.

Snake-Arsenic
Snake-Arsenic
  • Member since: Feb. 24, 2007
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-06 03:22:41 Reply

Newgrounds Psychopath: Selects a random smiley each time you post, making you seem like a very confused psychopath.

MagicMichael66
MagicMichael66
  • Member since: Feb. 24, 2009
  • Offline.
Forum Stats
Member
Level 16
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-06 08:14:09 Reply

I use to have greasemonkey scripts for Ikariam and grepolis.


BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-06 17:27:13 Reply

At 18 hours ago, Narcissy wrote:
At 3 minutes ago, Xaotik wrote: I suppose I can take an opinion on this. Would it be better to have something like the pic below?
That works for me. That way, a placement is there, and it won't cause any screw ups. Can it it also knock off their user icons, sig, and stats? It'll make certain users more tolerable.

Well, my plan was to have that box show up for every post they would have made, making each one individually viewable. The post would remain completely hidden though until that button was clicked.

knugen
knugen
  • Member since: Feb. 7, 2005
  • Offline.
Forum Stats
Member
Level 42
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-08 04:33:56 Reply

Finally got around to assemble the list yesterday. I borrowed YoungAndWise's list from the first page and built on with newer additions posted in this thread.

Let me know if I missed anything or if you have any new scripts for me to add :)

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-08 21:19:26 Reply

At 16 hours ago, knugen wrote: Finally got around to assemble the list yesterday. I borrowed YoungAndWise's list from the first page and built on with newer additions posted in this thread.

Let me know if I missed anything or if you have any new scripts for me to add :)

My name is misspelled. I can't win...

knugen
knugen
  • Member since: Feb. 7, 2005
  • Offline.
Forum Stats
Member
Level 42
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-09 06:09:46 Reply

At 8 hours ago, Xaotik wrote: My name is misspelled. I can't win...

Haha sorry I copy pasted YoungAndWise. All fixed now :)

Snake-Arsenic
Snake-Arsenic
  • Member since: Feb. 24, 2007
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-09 09:05:46 Reply

Newgrounds Old Thread Indicator: Updated for the redesign, this marks threads that are older than ninety days.

Greasemonkey Scripts For Ng V2

Snake-Arsenic
Snake-Arsenic
  • Member since: Feb. 24, 2007
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-10 00:00:19 Reply

Old Thread Indicator has now been renamed to Newgrounds Fossil. It now changes the star for old posts and the time has been reduced to 75 days(2.5 months);

I also have two new scripts.

Newgrounds Drift: This is a utility script that keeps the recent Notifications under the star.

Newground Quick GM : Adds a link to this thread to the top of the page. If you use this you won't need drift as it's included in this script.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-11 13:13:40 Reply

Another update and/or teaser on the progress of Hush! It's moving along smoothly now because I've finally gotten a chance to wind down from all the work I was busy with.

Here's a screeny:

Greasemonkey Scripts For Ng V2

Snake-Arsenic
Snake-Arsenic
  • Member since: Feb. 24, 2007
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-14 17:45:07 Reply

Newgrounds Embed Alpha: Generates an embedded player for video links. Currently supports Youtube (both long and short urls), Vimeo and Blip.tv. Clicking a modified link will open and close the player. Right-clicking and opening in new tabs/windows works as normal.

There are still some issues to work out and more features to add but it should work fine for the bbs.

Greasemonkey Scripts For Ng V2

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-14 22:27:29 Reply

At 4 hours ago, Snake-Arsenic wrote: Newgrounds Embed Alpha: Generates an embedded player for video links. Currently supports Youtube (both long and short urls), Vimeo and Blip.tv. Clicking a modified link will open and close the player. Right-clicking and opening in new tabs/windows works as normal.

There are still some issues to work out and more features to add but it should work fine for the bbs.

Damn man! Beat me to it... I had made one of these and never published for the old design and was working on upgrading it. Oh well, nice job :P

Flowoflife
Flowoflife
  • Member since: May. 7, 2009
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-14 22:33:43 Reply

I have no fucking idea what greasemonkey means but support.

Snake-Arsenic
Snake-Arsenic
  • Member since: Feb. 24, 2007
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-03-17 00:27:25 Reply

Embed Alpha 2 is out and you can get it here. It now support links in sigs, pms, news posts and when browsing a user's posts. Also, there is the beginnings of soundcloud support and some auto-pausing when minimizing videos.

At 1 day ago, Xaotik wrote: Damn man! Beat me to it... I had made one of these and never published for the old design and was working on upgrading it. Oh well, nice job :P

In that case I hope this works as well as the one you were making.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-17 10:59:06 Reply

At 10 hours ago, Snake-Arsenic wrote: Embed Alpha 2 is out and you can get it here. It now support links in sigs, pms, news posts and when browsing a user's posts. Also, there is the beginnings of soundcloud support and some auto-pausing when minimizing videos.

At 1 day ago, Xaotik wrote: Damn man! Beat me to it... I had made one of these and never published for the old design and was working on upgrading it. Oh well, nice job :P
In that case I hope this works as well as the one you were making.

In fact, it works better. Has features I hadn't even considered and is very well made. You've done an excellent job with this script and should be very proud of it, your alpha does more than my old script did :)

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-03-18 11:59:52 Reply

New script for you guys!

This is just a little one I had waiting in the wings while I'm sorting out some cross-browser compatibility stuff with Hush. It's nothing special as far as names go, I call it the Quoted Text Monitor. I recall that someone had made one for the old NG at one point in time, so I revived it.

Pretty straightforward, install, and whenever you post, you'll get this percentage meter that shows how much of your post is quoted content. I was considering making it lock the Post button if you're over, but I don't know the exact percentage NG cuts off at. I've estimated it at 83%, so going over that will cause the meter to turn red.

Compatibility: Chrome, Firefox 10.0.2+

Download & Install

Preview:

Greasemonkey Scripts For Ng V2

Sectus
Sectus
  • Member since: Feb. 15, 2008
  • Offline.
Forum Stats
Moderator
Level 27
Writer
Response to Greasemonkey Scripts For Ng V2 2012-03-18 12:07:51 Reply

Thanks for the quoted text meter! That will really be helpful when I'm respond to people in the Where is / How to forum. Keep up the good work man!

I'm still looking forward to that plugin that displays your rank on NG under your name at the top!

[Report Rule-Breaking Portal Submissions] - [I don't actually have a personality]

BBS Signature
LiquidFire
LiquidFire
  • Member since: Aug. 31, 2005
  • Offline.
Forum Stats
Supporter
Level 46
Melancholy
Response to Greasemonkey Scripts For Ng V2 2012-03-19 18:29:47 Reply

At 1 day ago, Xaotik wrote: Pretty straightforward, install, and whenever you post, you'll get this percentage meter that shows how much of your post is quoted content. I was considering making it lock the Post button if you're over, but I don't know the exact percentage NG cuts off at. I've estimated it at 83%, so going over that will ca

oh this one is awesome. Will be really useful for me.


I'm crazy! Got a doctor's note.
Find me on the internet / TF2 Crew / NG GM Scripts

BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-04-01 13:40:59 Reply

Ok guys, new script, just for today.

Since the NG Chat is out and is supposedly "featureless", my script makes it a bit more featured.

I'm calling it the "NG Featureless Chat Featurer", and I'm planning on deleting it this week (most likely tomorrow), because I believe the current NG chat is just for April Fools...

This is tested to work on Chrome and Firefox 10.0.2+.

Because this is temporary, and my site is a mess right now, the download for this script is a .txt on Dumping Grounds. Simply download the file and change the .txt extension to .js, and File > Open it in your browser.

Here is the "Vanilla" NG Chat, and this is my improved version.

Here is the source code I mentioned. See the bolded text above for installation instructions.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-04-01 13:44:52 Reply

Ok, the dead link above was not an April fools joke, I actually copied the URL incorrectly.

Here you go.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-04-01 16:48:41 Reply

Ok guys, since it seems like the NG chat is getting live updates as the day draws on, I'll be launching updates to my Chat fixer script periodically, so just check back to the source code to update.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-04-02 11:26:19 Reply

Well, it looks like NG is intent on keeping the Featureless Char Featureless. I suppose this means I've got a lot of overhauling to do on my script.

iMini
iMini
  • Member since: Mar. 4, 2006
  • Offline.
Forum Stats
Member
Level 17
Movie Buff
Response to Greasemonkey Scripts For Ng V2 2012-04-02 11:43:28 Reply

I've heard other people experiening this issue with Greasemonkey before, whenever I try to install a new script it just downloads the file, rather than having it open in Greasemonkey. Never had this happen before.

Windows XP SP3
Latest Firefox Beta (just Beta, not Nightly or anything) Build

I'd like to just give a big thank you to all the people who keep making scripts to improve Newgrounds (and some extra props to Xaotik, you've done so much for everyone).


illicit makes a damn good signature.

BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-04-02 12:02:12 Reply

Do you have Greasemonkey or Scriptish enabled? If they are and the file still downloads, it might just be that the file was set to Save rather than Open (some hosting sites do this). If that's the case, try File>Open in your browser and locate the file, or try dragging and dropping onto your browser window.

iMini
iMini
  • Member since: Mar. 4, 2006
  • Offline.
Forum Stats
Member
Level 17
Movie Buff
Response to Greasemonkey Scripts For Ng V2 2012-04-02 14:19:38 Reply

At 4/2/12 12:02 PM, Xaotik wrote: Do you have Greasemonkey or Scriptish enabled? If they are and the file still downloads, it might just be that the file was set to Save rather than Open (some hosting sites do this). If that's the case, try File>Open in your browser and locate the file, or try dragging and dropping onto your browser window.

Disabled and re-enabled Greasemonkey, but still nothing. Tried opening the file through File>Open, but it just opens up the code in a new tab, rather than adding it to Greasemonkey.


illicit makes a damn good signature.

BBS Signature
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-04-02 16:42:07 Reply

You saved as .user.js and not just .js right?