Be a Supporter!

Greasemonkey Scripts For Ng V2

  • 25,374 Views
  • 246 Replies
New Topic Respond to this Topic
Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-11-28 10:03:09 Reply

At 11/28/12, around 3:00 AM, Xaotik wrote: Well, I definitely stayed up way too late working on this, but I want to announce that I now have an almost 100% working replica of the NG system. Now pressing the quote button when already posting will drop the quote right into the textbox. :)

Later today I'll try sorting out some minor bugs, like random colons appearing on empty lines of text.

Well, I'd like to think this feature is just about done. The quote block above was generated using NG+. It even supports nested quotes, however, it seems to get a bit screwy when nested quotes utilize the ":" character (for smiles, for example). I plan on looking into that further.

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

Hey all, I have some really exciting news. After thinking about implementing this for a long time, I've decided to add a Dashboard to NG+.

This pic dump is a really rough draft of what I'm hoping to add, but I would absolutely love any and all suggestions for pods to add to this.

I have no idea how I'm going to organize it right now, but I definitely want a working skeleton for it in the December closed beta.

I know I've asked for community feedback in the past, but right now is when I think it's most important. This baby is going to be the face of the giant that is NG+, so any ideas you have, no matter how out there they are, I will try my absolute best to implement given the restrictions of Javascript and the Terms of Use for NG.

Also, here is a quick rundown of how I picture the pods I listed in there. First off, let me start by saying that all pods will update content in 10 minute intervals, just because there is the potential for a lot of data to be downloaded and I don't want to put strain on NG if a lot of users pick up NG+ and utilize the Dashboard. Furthermore, no updating will occur when the window is not focused, meaning, different tab/application, no updates until you click back onto NG.

Thread Watch - Monitor a specific thread for new activity. I'm thinking of a system that only keeps subscriptions for 48 hours and resets every time you visit the thread, that way if someone accidentally leaves an old thread in their dashboard and collapses it for a while, its not always loading the old thread.

Hot Topics - Just pull the "Hot Topic" section of the BBS index into the Dashboard. It will give you titles, links, views and replies for the threads.

Newest Threads (needs to be renamed) - Pull up the 5 most recently replied to threads for a particular forum, ignoring the NG News since that's in the box on the left hand side of the Front page.

User Watch - A bit like a more advanced Follow URL. Not sure how I'm going to organize this one, but some things it could include would be like most recent review/BBS post.

Inbox Pod - Display newest messages in your inbox. Configurable to show unread only, and hide the subject line from prying eyes.

News & Events - Basically a more detailed version of the already existing News & Events, this will import a list of a few most recent news items, and a few more lines than the existing calendar on the front page. Not too sure if I want to keep this pod yet, because it seems like too much of a duplicate.

Grafitti - Just brings the "Leave a Message" textblock to the Dashboard with options to follow/message/check out the person who left NG a message.

Like I said guys, I am open to any new suggestions other than these, please, if there's something you really want to see, LET ME KNOW! :)

That's all for now.

Slint
Slint
  • Member since: Nov. 6, 2007
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-11-29 08:09:50 Reply

So far I got no suggestions but I do can say it's looking really good, nice job.


Pretend not to care about anything, but be bothered by everything.
You may be fast on the roads but it's no use on the track.
ScaryPicnic made me do it.My letterboxd.

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

This new Social feature looks incredible. Now I get to do to my favorite thing, throw on some 90s gangsta rap and write some new features.

Trapex
Trapex
  • Member since: Apr. 9, 2012
  • Offline.
Forum Stats
Supporter
Level 01
Writer
Response to Greasemonkey Scripts For Ng V2 2012-12-10 22:07:09 Reply

At 12/10/12 09:25 PM, Xaotik wrote: This new Social feature looks incredible. Now I get to do to my favorite thing, throw on some 90s gangsta rap and write some new features.

You puss. Throw on some GOOD OLD ROCK'N'ROLL!!!! I could probably (if I had the motivation to actually learn languages) do that if I just had some ACDC, Rolling Stones, Aerosmith and Queen playing in the background.

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

At 12/10/12 10:07 PM, Trapex wrote:
At 12/10/12 09:25 PM, Xaotik wrote: This new Social feature looks incredible. Now I get to do to my favorite thing, throw on some 90s gangsta rap and write some new features.
You puss. Throw on some GOOD OLD ROCK'N'ROLL!!!! I could probably (if I had the motivation to actually learn languages) do that if I just had some ACDC, Rolling Stones, Aerosmith and Queen playing in the background.

I don't have anything against Classic Rock, in fact I listen to it a lot, but nothing really seems to get me focused on my code like old hip-hop/rap.

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

It seems the NG staff was working on the same feature I was. Here's an autocomplete for sending PMs, it actually integrates quite well with the stock NG feature.

Greasemonkey Scripts For Ng V2

Slint
Slint
  • Member since: Nov. 6, 2007
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-12-11 18:37:39 Reply

At 12/10/12 10:07 PM, Trapex wrote:
At 12/10/12 09:25 PM, Xaotik wrote: This new Social feature looks incredible. Now I get to do to my favorite thing, throw on some 90s gangsta rap and write some new features.
GOOD OLD ROCK'N'ROLL!!!! ACDC, Rolling Stones, Aerosmith and Queen

Jesus christ, kill yourself, you walking cliche.


Pretend not to care about anything, but be bothered by everything.
You may be fast on the roads but it's no use on the track.
ScaryPicnic made me do it.My letterboxd.

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

At 12/11/12 07:06 PM, EJR wrote:
At 12/11/12 06:13 PM, Xaotik wrote: It seems the NG staff was working on the same feature I was. Here's an autocomplete for sending PMs, it actually integrates quite well with the stock NG feature.
http://www.newgrounds.com/bbs/topic/1326535/6#bbspost2437242 1_post_text

Dang. Way ahead of ya.

I know right? I just can't keep up with the staff. Oh well, mine has pictures :)

Trapex
Trapex
  • Member since: Apr. 9, 2012
  • Offline.
Forum Stats
Supporter
Level 01
Writer
Response to Greasemonkey Scripts For Ng V2 2012-12-11 19:39:01 Reply

At 12/11/12 06:37 PM, Slint wrote:
At 12/10/12 10:07 PM, Trapex wrote:
At 12/10/12 09:25 PM, Xaotik wrote: This new Social feature looks incredible. Now I get to do to my favorite thing, throw on some 90s gangsta rap and write some new features.
GOOD OLD ROCK'N'ROLL!!!! ACDC, Rolling Stones, Aerosmith and Queen
Jesus christ, kill yourself, you walking cliche.

Sorry if I come across as stereotypical. I just appreciate good music and the bands I listed did make good music. I listen to other rock bands besides those four and I listen to other forms of music too (except for country; will not do that).

Besides, it was a bit sarcastic on my part. I was just kidding around, to be honest even if I still do like the bands I listed.

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

At 12/11/12 07:39 PM, Trapex wrote: Sorry if I come across as stereotypical. I just appreciate good music and the bands I listed did make good music.

An apology to Slint? D'awww..

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-12-12 15:26:11 Reply

Quick update, not really a huge deal, but I made it so the "Unchecked Events" notifier now displays a combination of Friend Requests and PMs.

More on that soon..

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

Here's a draft of another little quick feature I'm working on. It condenses the quick links bar to just the social elements, for those who wish to use the site as more of a social experience.

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-12-12 19:01:37 Reply

Finished! Here is what NG+ now offers for users who prefer a more clean, social-oriented layout:

By the way, the "Add" button is for the unfinished Account Switcher :)

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-12-16 01:34:26 Reply

I'm particularly proud of how well this feature came out looking. It's a set of four features to streamline those quicklinks.

Top Left: Friends preview. Yes, the Deny and Approve buttons are functional. Friends link goes to NG Social.
Top Right: Just a restyle of the Event Feed, made it match the other quicklinks and gave it that classic NG dark coloring.
Bottom Right: Showed this off already, but just showing how it looks along with the others, its all the non-social links condensed into a menu.
Bottom Left: Private Messages preview, Inbox and Compose buttons readily available, plus titles for messages. Thinking of adding a Key to the bottom to tell what each colored dot means, but they're identical to the inbox page.

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-12-16 15:56:05 Reply

Just another test post. Experimenting with an improvement I thought up for the inline poster.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-12-22 20:00:38 Reply

Another features test, please disregard.

Slint
Slint
  • Member since: Nov. 6, 2007
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-12-22 20:02:17 Reply

At 12/22/12 08:00 PM, Xaotik wrote: Another features test, please disregard.

Please stop giving people false hope.

Greasemonkey Scripts For Ng V2


Pretend not to care about anything, but be bothered by everything.
You may be fast on the roads but it's no use on the track.
ScaryPicnic made me do it.My letterboxd.

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

I'm not. I'm working on a way to make the inline poster changes reflect without reloading the page, so I need to do test posts for that.

Basically if I can get this working, it will be possible to inline post on the BBS without ever refreshing the page.

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

Ok, it seems like everything is working on my end. I've added that feature to the inline poster, so it now posts without ever leaving the page.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-12-22 20:31:52 Reply

Ok, it almost works 100%. Just need to sort out a glitch with the link watcher disappearing.

Xaotik
Xaotik
  • Member since: Mar. 26, 2008
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to Greasemonkey Scripts For Ng V2 2012-12-22 20:47:56 Reply

Alright, heres one final test post for this feature. If all goes well, NG+ has seamless inline posting.

Slint
Slint
  • Member since: Nov. 6, 2007
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-12-22 20:58:24 Reply

At 12/22/12 08:47 PM, Xaotik wrote: Alright, heres one final test post for this feature. If all goes well, NG+ has seamless inline posting.

I meant false hope as in "new post by Xaotix, must mean new script" and then it's a test post.


Pretend not to care about anything, but be bothered by everything.
You may be fast on the roads but it's no use on the track.
ScaryPicnic made me do it.My letterboxd.

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

At 12/22/12 08:58 PM, Slint wrote:
At 12/22/12 08:47 PM, Xaotik wrote: Alright, heres one final test post for this feature. If all goes well, NG+ has seamless inline posting.
I meant false hope as in "new post by Xaotix, must mean new script" and then it's a test post.

Sorry :(

Tbh its been a long time since I posted anything not relating to NG+. When I actually do get around to releasing NG+ though, I think it'll be worth the wait.

Slint
Slint
  • Member since: Nov. 6, 2007
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to Greasemonkey Scripts For Ng V2 2012-12-22 21:03:36 Reply

At 12/22/12 09:00 PM, Xaotik wrote:
Sorry :(

Tbh its been a long time since I posted anything not relating to NG+. When I actually do get around to releasing NG+ though, I think it'll be worth the wait.

I'm just kidding, you've been doing a stellar work so far, I'm sure it'll turn out great.


Pretend not to care about anything, but be bothered by everything.
You may be fast on the roads but it's no use on the track.
ScaryPicnic made me do it.My letterboxd.

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

Hey guys, I'd like to show something I've been spending quite a bit of time working on. It's an all new way of displaying the Settings for NG+. I'm moving towards a new system where there will be no need for a dummy URL for the NG+ settings, and they can be edited from a Modal window on any NG page.

This new color scheme is also going to include major changes to the organization of settings, which I always felt was a bit lacking and messy. It's going to take quite a bit of work to rewrite the system I have in place now, but I feel like it will be more than worth it. Once I perfect the way users can actually modify features, it opens a whole new window of possibilities.

Until now, the only settings available have been Booleans (ON or OFF), and a single Array (List), being the Ignore List, which had proprietary code to render and control it.

I'm moving the settings "engine" to a more Object-Oriented system, where the different Settings can be made more customizable. The eventual hope is that one day NG+ will be able to support "scriptlets", meaning user-made modules that run in conjunction with the basic NG+, and that they can have their settings dropped right into NG+'s.

All of that is a long way down the road, but for now, I leave you with this screencap, comparing the two interfaces. Oh, and FYI, the coloring of the new one changes based on which page it's opened on, so opening on a Games page will make it blue, Movies red, etc.

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 2013-01-13 18:14:30 Reply

Hello all,

I have a serious question to ask of you guys, and I would really appreciate feedback on it. At the time of writing this, Newgrounds+ has reached a staggering 2,795 lines of code. Over the past 6, almost 7 years, I have been programming/designing/developing all off of self-taught knowledge. When I look at the monolith NG+ has become, I'm both proud of the hard work I've put into it, and disappointed because I believe I can do better. Right now, the features I'm capable of creating have almost all been exhausted, and I need to branch out further than a simple userscript if I want to make NG+ operate at it's fullest potential.

Here is the crossroads I have arrived at, either continue to develop NG+ as a userscript, and deal with the inherent limitations of that distribution method, or hold development right now, and release the current script as a public beta. My intent if I release the current NG+ as a public beta is to get feedback on it from the community, while I work on a fully optimized, rewritten version that will be packaged as a native extension for distribution on Chrome and Firefox, possibly Safari and Opera as well.

As I said, I'd appreciate if you all could give me an opinion on this.

knugen
knugen
  • Member since: Feb. 7, 2005
  • Offline.
Forum Stats
Member
Level 42
Programmer
Response to Greasemonkey Scripts For Ng V2 2013-01-27 21:14:47 Reply

Glad to see this thread is still (kinda) going on! Mad props to you Xaotik for all the work you seem to continuously pump into your script-making! :)

As for NG+ it's hard to say with my limited knowledge of it, but just going by your last post I would say releasing it in some way would probably be beneficial as long as it's "stable enough". That way you can get some quality feedback: good feedback can give you energy and motivation which I reckon can be needed, and although it's never fun finding bugs in your stuff it's always good to find them as early as possible. Just make it very clear of the state it's in at release, and maybe even call it alpha if you deem it appropriate.

LiquidFire
LiquidFire
  • Member since: Aug. 31, 2005
  • Offline.
Forum Stats
Supporter
Level 46
Melancholy
Response to Greasemonkey Scripts For Ng V2 2013-02-01 03:28:40 Reply

At 1/13/13 06:14 PM, Xaotik wrote: As I said, I'd appreciate if you all could give me an opinion on this.

I think a public beta would be the way to go.


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 2013-02-03 18:13:47 Reply

Well guys, I took your advice on the public beta. It's LIVE NOW!

http://www.newgrounds.com/bbs/topic/1331750