You are either not logged in or not registered with our community. Click here to register.
 
November 19, 2017, 06:44:24 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

The Elliquian Herald & Post
Issue 74 (Autumn) ~ August thru October 2017

Wiki Blogs Dicebot

Author Topic: Greasemonkey Script  (Read 41321 times)

0 Members and 1 Guest are viewing this topic.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #350 on: September 26, 2017, 08:40:59 AM »
That is an AWESOME feature, Ssieth!

SO much better than the regular buddy list! I love it! Thank you so much for the update!

Is it possible to make it sortable by various columns in the future?

Hi,

You're most welcome and it may well be possible to make it sortable although some of the columns are a little weird in how the data is presented so might be bit awkward to make sortable.   I'll add it to the planned feature list, though.

Online Nymphadora

  • Tonks, if she were shy. The knitting Nymph.
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in New York
  • Gender: Female
  • You can't take the sky from me.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Greasemonkey Script
« Reply #351 on: September 26, 2017, 09:31:16 AM »
Hi,

You're most welcome and it may well be possible to make it sortable although some of the columns are a little weird in how the data is presented so might be bit awkward to make sortable.   I'll add it to the planned feature list, though.

Very cool. :)

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #352 on: September 26, 2017, 10:03:08 AM »
v1.33.1 now has some very basic table sorting in.   I'll enhance and expand it as I go along :)

Online Nymphadora

  • Tonks, if she were shy. The knitting Nymph.
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in New York
  • Gender: Female
  • You can't take the sky from me.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Greasemonkey Script
« Reply #353 on: September 26, 2017, 04:21:52 PM »
AWESOME!
Thank you so much!

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #354 on: September 26, 2017, 06:42:24 PM »
v1.33.3 has a few under-the-hood things.  Feel free to ignore it.. nothing visible should change :)

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #355 on: September 26, 2017, 09:50:41 PM »
It's suddenly not working for me for some reason.

I got a notification saying it was updated, and now it's gone.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #356 on: September 27, 2017, 02:57:57 AM »
It's suddenly not working for me for some reason.

I got a notification saying it was updated, and now it's gone.

Eek, sorry - my under-the-hood improvements broke some stuff.  Should now be fixed.  I also messed up my version numbering.  The broken version was 1.33.2 and the fixed version is 1.33.3 :)


Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #357 on: September 27, 2017, 03:05:42 AM »
And one more small fix - 1.33.4 :)

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #358 on: September 27, 2017, 03:32:43 AM »
I'm on my phone now, but I trust you that it's been fixed! Lol

I was just like "OMG. What am I gonna do now?!" XD This script has helped keep me organized. Lol

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #359 on: September 27, 2017, 07:43:36 AM »
I'm on my phone now, but I trust you that it's been fixed! Lol

I was just like "OMG. What am I gonna do now?!" XD This script has helped keep me organized. Lol

I'm trusted.  *steeples fingers and cackles maniacally*

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #360 on: September 27, 2017, 02:32:43 PM »
I'm trusted.  *steeples fingers and cackles maniacally*

:-( It's still not working. Hmm... I disabled/enabled both the script and the greasemonkey, and even restarted Firefox.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #361 on: September 27, 2017, 02:37:47 PM »
Can you tell me what version you have?

Oh - and if you open up the javascript console (SHIFT+CTRL+J) are there any error messages?
« Last Edit: September 27, 2017, 02:44:02 PM by Ssieth »

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #362 on: September 27, 2017, 02:48:01 PM »
Can you tell me what version you have?

Oh - and if you open up the javascript console (SHIFT+CTRL+J) are there any error messages?

Of Gresemonkey? 3.14

The script, I think it should be up to date.

And there are several errors.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #363 on: September 27, 2017, 02:51:12 PM »
Of Gresemonkey? 3.14

The script, I think it should be up to date.

And there are several errors.

In the javascript console, the script should report its version with a line like:

Code: [Select]
27/09/2017, 20:49:22: -none-: "Starting Elliquiy Improver v1.33.4"
if you can tell me that version number and the first error message after that line... hopefully I can work out what is failing for you.

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #364 on: September 27, 2017, 05:02:21 PM »
I hope this is right.

9/27/2017, 6:00:18 PM: -none-: "Starting Elliquiy Improver v1.33.2"  Elliquiy_Improver.user.js:204:4
TypeError: this.fields[name] is undefined[Learn More]  gm_config.js:349:5
channel.URI is undefined  WebRequest.jsm:834

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #365 on: September 27, 2017, 05:24:52 PM »
I hope this is right.

9/27/2017, 6:00:18 PM: -none-: "Starting Elliquiy Improver v1.33.2"  Elliquiy_Improver.user.js:204:4
TypeError: this.fields[name] is undefined[Learn More]  gm_config.js:349:5
channel.URI is undefined  WebRequest.jsm:834

Ah - I see the problem straight away - you are still two versions back... you can either force an update in the greasemonkey script settings:  "Manage User Scripts" from the greasemonkey dropdown menu and then right-click on the script and select "Force Find Update".

Or.. you can visit the site https://openuserjs.org/scripts/Ssieth/Elliquiy_Improver and reinstall from there which should give you the latest version :)

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #366 on: September 27, 2017, 05:28:24 PM »
Ah - I see the problem straight away - you are still two versions back... you can either force an update in the greasemonkey script settings:  "Manage User Scripts" from the greasemonkey dropdown menu and then right-click on the script and select "Force Find Update".

Or.. you can visit the site https://openuserjs.org/scripts/Ssieth/Elliquiy_Improver and reinstall from there which should give you the latest version :)

OMG! Thank you! Such a simple solution for what seemed like an apocalyptic problem... XD

I wonder why that happened... I usually get the notifications that the improver has been updated, and figure it sorts itself out.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #367 on: September 27, 2017, 05:37:18 PM »
OMG! Thank you! Such a simple solution for what seemed like an apocalyptic problem... XD

I wonder why that happened... I usually get the notifications that the improver has been updated, and figure it sorts itself out.

I'm not sure about what it is that causes it to stick.   Those two methods have always freed it up for me, when it has happened, though :)


Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #368 on: September 27, 2017, 05:41:14 PM »
I'm not sure about what it is that causes it to stick.   Those two methods have always freed it up for me, when it has happened, though :)



Well, thank you again. I don't know what I would have done if it stopped working permanently. lol Probably lost my mind! Haha!

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #369 on: September 28, 2017, 03:42:47 AM »
And I just realized how many pages there are of this now so thought I'd repost the original instructions for anyone coming to this anew:

Hi there,

I'm one of those fussy people who never has the feature that they want on a site.  Fortunately, for me at least, I'm also a programmer.  So - I have a tendency to write scripts to tack on the features I desire and then, if I can kludge them into a not-too-buggy state, I make them available for anyone else who also desires the same features.

The scripts work using a firefox plugin called Grease Monkey (http://www.greasespot.net/) or a chrome plugin called Tamper Monkey (https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo).

Then you just pop my script in there and it adds in the extra features. 

The script can be found at:  https://openuserjs.org/scripts/Ssieth/Elliquiy_Improver

Feel free to let me know if it's useful, useless, confusing, broken etc :)   If you want other features let me know too :)

So far those features are:

Hide Pictures
This hides avatars and images in posts.  Why?  I wanted the script to be able to hide them at work so I could use Elliquiy without fear of anyone glancing over and getting too interested in what I was doing.

Quick Topics
Bookmarks by another name... this is a drop-down menu that has links to specific topics.  You can set/remove topics with a new button on the topic button bar.

To be honest I created this before I was aware of the bookmarks feature but I like it better as I like my navigation to be all up there in that menu bar.

Snippets
The ability to store frequently used bits of bbcode/text to be pasted into posts/PMs.  I created this to make it easier to post with a standard character header.  The interface is still a bit clunky... to remove a Snippet you have to click "Add Snippet" and then type in the snippet name with no body text.

Drafts
Save and load drafts of posts and PMs

Speech Autostyling
Have speech between double quotes styled up automatically so that it stands out.

Bookmark tags
Organize bookmarks by tagging them.  Include automatic tags for games where you were not the last person to post.

Shoutbox Colour
Colour your entries in the shoutbox to make it easier to pick them out.

Tidy up UI
Tidy up the UI by removing header and footer items that you don't require and reorder the menus to make them a little tidier.

Auto-update PM and Replies count
Set a an automatic update for PM and reply counts that appear at the top of the page.

User Notes
Add notes to users that appear above their avatar so that you can, for instance, be reminded of that you have played with a given user before.

Snippets
Save blocks of text (including markup) that you want to reuse and then simply pick them from the drop-down menu above the editor to insert them into a post or PM.

User Lists
Create and maintain lists of users that you can use to send out PMs.  I use this for a list of people I am currently playing with to make it easier to contact them all when I know I'll be delayed in posting due to RL
You can also get a user search type of table for all of the users on a list, making it quick and easy to see who is online, who's not been around for a while etc...

Wordcounts
Are you the sort of person who likes to know how much they've typed?  Wordcounts show alongside posts and also below the edit box when making a post or PM.

Topic Filters
Mark, highlight or hide topics.  I use this feature primarily for marking topics in the RP requests forums that I have read and know just aren't for me.  It means I don't end up opening them again the next time I read through the forum.

AJAX buttons
A speed optimization that's currently still a work in progress.  When it's done, I hope it will speed up some of the site UI elements.  So far results are looking positive but there's still work to do :)

Offline Ritsu

  • Rainbow Eyed Dreamer | Prettiest of all Bits | Angel | Princess | Her Precious | Red & Kaia's Threeway Wife
  • Liege
  • Enchanter
  • *
  • Join Date: Oct 2012
  • Location: Now you get to watch her leave out the window, guess that's why they call it window pane.
  • Gender: Female
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #370 on: September 29, 2017, 02:28:10 AM »
Minor Bug:

If you disable enough of the Bookmarks options, eventually the bookmarks OnHover list is empty but still tries to appear, resulting in a kinda tacky looking box under the bookmarks bar.

Potential solution:

Add checking to say if(list_of_menu_items.length == 0) hide the dropdown

Example:

Offline Lady Lunarius

  • Howling's Panda, ~Nich's Wifey#6, ~Hekate's Lesbian Lover ~~ Liza's Bestie~Geeklets #1~~Blitzy's secret lover~~Flour Fairy~~Sephy's Luna-Bird~
  • Mentor
  • Addict
  • *
  • Join Date: Dec 2009
  • Location: Oregon
  • Gender: Female
  • Life's a bitch so tie her up & fuck her senseless.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Greasemonkey Script
« Reply #371 on: September 30, 2017, 10:29:52 AM »
So first off thank you!!!! This is amazing.

Second: Everytime I try and quote something or even just go to send a message on the boards it says "Undefined" instead of the quote, or even when its a completely new message.

Third: I have a suggestion for future things...A way to organize PM's. (I'm sure Mentors would love being able to organize PM's like "Mentor Things" and "RP" and "GM DUTIES" and just move messages in general to where they need them so they can find them later. Sort of like the Bookmark Organization.

Fourth: Thank you thank you thank you

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Bucky Bait | Howling's Dagger | Resident Wiccan | Proud Echelon | Winter Widow | Queen of the Underworld, if you prefer | A sentient pile of kittens | Always blame Bucky
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Frozen in my chamber...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #372 on: September 30, 2017, 01:46:44 PM »
Third: I have a suggestion for future things...A way to organize PM's. (I'm sure Mentors would love being able to organize PM's like "Mentor Things" and "RP" and "GM DUTIES" and just move messages in general to where they need them so they can find them later. Sort of like the Bookmark Organization.

Elliquiy has its own Label system that works super well for that already.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #373 on: September 30, 2017, 01:55:37 PM »
So first off thank you!!!! This is amazing.

You are most welcome :)

Second: Everytime I try and quote something or even just go to send a message on the boards it says "Undefined" instead of the quote, or even when its a completely new message.

Hmmm.. that's odd.  If I can ask a few, relatively quick, questions it may help me narrow it down.

1. Which web browser are you using?
2. Can you check the version of the script you are using? It should be in the Script Settings menu.
3. Do you have "Auto-load draft?" checked in the Draft settings?

Third: I have a suggestion for future things...A way to organize PM's. (I'm sure Mentors would love being able to organize PM's like "Mentor Things" and "RP" and "GM DUTIES" and just move messages in general to where they need them so they can find them later. Sort of like the Bookmark Organization.

As mentioned by persephone325, there's already a label system for PMs which is why I've never looked to do tags there.  If there's stuff missing from it that you need, I might be able to enhance it with the script, though.
« Last Edit: September 30, 2017, 01:56:51 PM by Ssieth »

Offline Lady Lunarius

  • Howling's Panda, ~Nich's Wifey#6, ~Hekate's Lesbian Lover ~~ Liza's Bestie~Geeklets #1~~Blitzy's secret lover~~Flour Fairy~~Sephy's Luna-Bird~
  • Mentor
  • Addict
  • *
  • Join Date: Dec 2009
  • Location: Oregon
  • Gender: Female
  • Life's a bitch so tie her up & fuck her senseless.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Greasemonkey Script
« Reply #374 on: September 30, 2017, 09:30:58 PM »
I'm using Chrome

It says 1.32.2

and Where do I find the "Auto-load draft?" setting...cause It's not showing up unless I'm being blond...


Also I figured out how to do the label system now! Sorry about that! I'm still exploring.

Though when I go to send PM's its putting in a message from way earlier today when I hit reply to completely unrelated messages. undefined