You are either not logged in or not registered with our community. Click here to register.
 
September 26, 2017, 11:32:01 AM
Top RP Sites - Vote Daily

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!

Wiki Blogs Dicebot

Author Topic: Greasemonkey Script  (Read 37589 times)

0 Members and 1 Guest are viewing this topic.

Offline 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 #300 on: August 13, 2017, 06:47:44 AM »
That is a pretty frickin cool addition, Ssieth!

Thank you for your awesome work on this! You and your creation ROCK!

Online CrownedSun

Re: Greasemonkey Script
« Reply #301 on: August 13, 2017, 11:30:08 AM »
I will admit, this gave me a bit of a 'aaaaaah!' moment this morning as I was trying to figure out why all my dialogue was blue. XD I didn't realize it was a greasemonkey thing, heh, n' was desperately looking around for whatever widget or dial or knob I'd accidentally jostled to accomplish this. Freaked me out a little! I realized it might be greasemonkey while I was browsing the help forum, thankfully, and fixed it.

Should it be turned on by default, though? :-)

I know I wasn't messing with my greasemonkey settings.

(Edit: That said, YES, I absolutely adore this lovely little thing. ♥ Ssieth)

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #302 on: August 13, 2017, 01:16:41 PM »
I will admit, this gave me a bit of a 'aaaaaah!' moment this morning as I was trying to figure out why all my dialogue was blue. XD I didn't realize it was a greasemonkey thing, heh, n' was desperately looking around for whatever widget or dial or knob I'd accidentally jostled to accomplish this. Freaked me out a little! I realized it might be greasemonkey while I was browsing the help forum, thankfully, and fixed it.

Should it be turned on by default, though? :-)

I know I wasn't messing with my greasemonkey settings.

(Edit: That said, YES, I absolutely adore this lovely little thing. ♥ Ssieth)

Yes, on reflection, default-off might have made more sense.  One of the features I plan to incorporate later should help with things like that - a sort of update 'splash screen' type thing that's there to tell you there's been an update and what is new.  Then, even if I inadvisedly set something default-on again, at least it will be clear what is going on.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #303 on: August 14, 2017, 08:03:55 AM »
The promised 'splash screen' feature is now live.

v1.31.0 of the script onwards should now tell you that a new version has been installed and point you in the direction of this thread for details.  There's a click-to-make-it-go-away link :D

Offline Sofia Grace

  • Do not fashion me into a maiden who needs saving from a dragon. I am the dragon, and I will eat you whole.
  • Dame
  • Enchanter
  • *
  • Join Date: May 2014
  • Location: New England
  • Gender: Female
  • My neck is open wide, begging for a fist around it
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Re: Greasemonkey Script
« Reply #304 on: August 14, 2017, 11:10:17 AM »
Briefly, before I head to bed.... a new version and a new feature.

v1.30.0 brings 'Speech Styling'.  Basically you can use this to make speech stand out in posts.  So long as the speech is enclosed in double quotes - "".

The settings can be found in the "Style Speech" section of the settings menu and, by default, are set to style speech in blue :)

!!!

Bless your heart.

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 | Always blame Bucky
  • Mentor
  • 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 #305 on: August 14, 2017, 08:24:21 PM »
* persephone325 is totally jealous of your skills

Online CrownedSun

Re: Greasemonkey Script
« Reply #306 on: August 14, 2017, 08:27:29 PM »
BTW,-- question,-- when you have quick topics selected and the "goes to last post" checked? At least on chrome, I've noticed that it only does to the last post of the first page. Is that intended behavior??

I'd use QT's a bit more if not for that. ;D

* persephone325 is totally jealous of your skills

So much this, yes. XD

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #307 on: August 15, 2017, 07:19:34 AM »
BTW,-- question,-- when you have quick topics selected and the "goes to last post" checked? At least on chrome, I've noticed that it only does to the last post of the first page. Is that intended behavior??

I'd use QT's a bit more if not for that. ;D

So much this, yes. XD

Hi there,

Yes - it does work that way and it's limitations of the forums (and fairly sensible ones) :(  It would go to the last post in the topic except that the ";all" bit of the URL only works for topics that have a few pages worth of replies.  If it gets too big, it refuses to show all of the posts and so goes to the last one that it is allowed to display.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #308 on: August 15, 2017, 07:19:55 AM »
And.. another new version... this one a fairly minor tweak.

1.31.1: Now speech styling is also applied to topic summary when writing a reply to a post.

Offline Ron Don Volante

Re: Greasemonkey Script
« Reply #309 on: August 16, 2017, 08:19:00 AM »
Hi Ssieth!

Getting a bug where my post has blue text. My friend who does not have the script says he sees the text as default black. The last post can be found here: https://elliquiy.com/forums/index.php?topic=270168.msg13428497#new

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #310 on: August 16, 2017, 08:22:40 AM »
Hi Ssieth!

Getting a bug where my post has blue text. My friend who does not have the script says he sees the text as default black. The last post can be found here: https://elliquiy.com/forums/index.php?topic=270168.msg13428497#new

Hi,

This is a result of the script doing "speech styling" which you can switch off in the settings.  It's detecting one quote ("") but but not the other ().  I'll make some tweaks to fix that but in the meantime you can put it back to normal behaviour by switching off speech styling in the settings.

Thanks for the bug report :)

  ~~ Ssi

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #311 on: August 16, 2017, 08:29:16 AM »
Hi Ssieth!

Getting a bug where my post has blue text. My friend who does not have the script says he sees the text as default black. The last post can be found here: https://elliquiy.com/forums/index.php?topic=270168.msg13428497#new

And new v1.31.2 should be out and should fix the issue.  It's not perfect as I'd like to treat the open and close quotes as different to neutral quotes but it's as good a fix as I'll manage before work travel, tomorrow :)

Offline 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 #312 on: August 22, 2017, 12:40:22 PM »
Hi Ssieth,

So I've been having this strange issue with drafts for a little while though not EVERY time.

This latest occurrence is stranger than normal...

I had one draft saved of a reply I began the other day. It showed up in the list of drafts and when insert to the text box, it came along with a partial from an older post for a couple of weeks ago.

When this issues started happening, it would typically just duplicate the same draft, adding copies of the same draft for each time I'd saved it. I have tried hitting clear draft, waiting a moment, then hitting save draft and still I end up with the whole thing repeating (and repeating and repeating sometimes).

I have Auto-Save draft set to 2 minutes and have Auto-clear draft when you post checked. Number of manual drafts to keep is set at 5.

Perhaps it is something on my end with my browser doing this? I use Chrome on a Windows 10 laptop.

Thanks!

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #313 on: August 22, 2017, 12:47:20 PM »
Hi Nymphadora,

I suspect it's down to my script rather than your browser.  Do you have the editor set to show you the formatted text or the formatting?  I seem to remember a bug a while back that was around the former and maybe that is recurring...

Offline 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 #314 on: August 22, 2017, 01:05:16 PM »
Thanks for the quick response!

I don't think I have it set to show that...

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #315 on: August 22, 2017, 01:08:00 PM »
Thanks for the quick response!

I don't think I have it set to show that...

The way to tell is when you make something bold, do you see it bold i the edit box or do you see the b's in little brackets on either side of it?

Offline 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 #316 on: August 22, 2017, 01:14:02 PM »
The way to tell is when you make something bold, do you see it bold i the edit box or do you see the b's in little brackets on either side of it?

Gotcha, thanks.

I see the code, not the result in the edit box.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #317 on: August 22, 2017, 01:23:35 PM »
Gotcha, thanks.

I see the code, not the result in the edit box.

OK - that rules out that as a possibility.  I'll take a proper poke at the code soon :)  Drafts need a bit of an overhaul I think.   Thanks for reporting the bug :)

Offline 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 #318 on: August 22, 2017, 01:26:58 PM »
Thank you for all of the work you put into it! It's awesome!

No rush at all.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #319 on: August 23, 2017, 10:35:29 AM »
OK - I've made an attempt to fix some of the issues with drafts.

v1.31.3 is now out and may well fix some of the draft issues.  Please let me know if you find any more issues with drafts :)

Offline 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 #320 on: August 24, 2017, 09:59:35 AM »
Thank you so much, again, Ssieth!

So far so good! If it happens again I'll let you know.

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 #321 on: August 25, 2017, 03:23:35 PM »
I've got an interesting one for you Ssieth, hopefully it's not too much of a PITA because of look ahead parsing.

So when you have a post that includes only a single instance of a " then the whole rest of the post becomes highlighted by the special formatting code.

I've seen it happening on things like character sheets that have height info in them.

This post should also be an example.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #322 on: August 25, 2017, 03:53:17 PM »
I've got an interesting one for you Ssieth, hopefully it's not too much of a PITA because of look ahead parsing.

So when you have a post that includes only a single instance of a " then the whole rest of the post becomes highlighted by the special formatting code.

I've seen it happening on things like character sheets that have height info in them.

This post should also be an example.

Thanks for spotting that.  I now have look-ahead goodness to prevent a single quote painting everything.  Of course, if you have two sets of quotes (even if you intend them to be inches) it interprets that as quoting speech.

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 #323 on: August 25, 2017, 07:37:49 PM »
Thanks for spotting that.  I now have look-ahead goodness to prevent a single quote painting everything.  Of course, if you have two sets of quotes (even if you intend them to be inches) it interprets that as quoting speech.
Thanks dear! You're the best.

Offline NightLux

Re: Greasemonkey Script
« Reply #324 on: August 28, 2017, 01:49:03 PM »
For speech styling, is there a way to have it interact with the BBCode and not override the color of text?  For example, if I were to have my script setting for "color: green", it'd override the blue tag I set.

"Can we stop this from occuring?"