You are either not logged in or not registered with our community. Click here to register.
 
December 09, 2016, 11:04:18 PM

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!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Greasemonkey Script  (Read 26788 times)

0 Members and 2 Guests are viewing this topic.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #150 on: July 10, 2015, 10:01:19 AM »
I was already using it, I've just been working on making the transition from Firefox to Opera (gods, I still miss Lazarus...) so now I don't have to open the other browser to use E. ;)

I may give Opera a go one of these days... I tend to oscillate between FF and Chrome currently depending on what works better for my needs at any given moment.

Offline Reno

Re: Greasemonkey Script
« Reply #151 on: July 10, 2015, 10:02:59 AM »
I may give Opera a go one of these days... I tend to oscillate between FF and Chrome currently depending on what works better for my needs at any given moment.

I just recently switched from Firefox for purely technical reasons - I'm tired of it taking 10 minutes to scroll down the page on Amazon. >_<

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #152 on: July 13, 2015, 07:45:01 AM »
v1.19.0 is out with one new feature:

Drafts
Got half way through a post before RL interrupts? With the new drafts feature you can save a draft for each topic for later retrieval. It's on by default and can be disabled in the usual place. The buttons to save/load and clear drafts are are the bottom of the post box.  Loading a draft doesn't remove it from the collection of drafts so you can, if you want, use it for inserting template text into posts for a particular topic instead (although Snippets are probably a better tool for that).

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph.
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: Nestled 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 #153 on: July 13, 2015, 07:54:12 AM »
v1.19.0 is out with one new feature:

Drafts
Got half way through a post before RL interrupts? With the new drafts feature you can save a draft for each topic for later retrieval. It's on by default and can be disabled in the usual place. The buttons to save/load and clear drafts are are the bottom of the post box.  Loading a draft doesn't remove it from the collection of drafts so you can, if you want, use it for inserting template text into posts for a particular topic instead (although Snippets are probably a better tool for that).

*bounces around like a Super Ball dropped from a tall building and getting trapped in a bus shelter*

ie. You rock again Ssieth!

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #154 on: July 13, 2015, 09:27:47 AM »
*bounces around like a Super Ball dropped from a tall building and getting trapped in a bus shelter*

ie. You rock again Ssieth!

You're most welcome.  Let me know if the drafts work the way you would want them to.  I had a few decisions to make regarding the interface and I'm not sure I made the right ones...

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #155 on: July 14, 2015, 07:14:55 AM »
v1.20.1 (I noticed a bug in 1.20.0 before I posted  ;) ).

I've expanded on drafts and added two new features:

AutoLoad Draft: Loads any draft you have for a topic as soon as you start to post. 
AutoSave Draft: Saves drafts of a post every X minutes (set X to what you want, 0 to have no autosave).

Both new features and the on/off switch for drafts in general have been moved into a new "Drafts" category in the settings UI.


Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #156 on: July 14, 2015, 07:34:50 AM »
And an update to v1.20.2

Added the ability to automatically clear drafts when you post (useful if you are both auto-saving and auto-loading).

Offline jouzinka

  • Elf Guardian of the Blind Unbowed,Unbent,Unbroken. Law, Hr nn, dollen i Rw
  • Lady
  • Addict
  • *
  • Join Date: Nov 2008
  • Location: Surely wielding my mad makeup skillz somewhere
  • Gender: Female
  • The E mantra: Sip, swallow, scroll, sip, swallow..
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #157 on: July 14, 2015, 10:04:28 AM »
Ssieth, you are made of awesome. The drafts are ah-mazing.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #158 on: July 14, 2015, 10:21:50 AM »
Ssieth, you are made of awesome. The drafts are ah-mazing.

Glad to hear that you like them.  I'm running a few things through in my head now about how to have both auto-save and manual drafts co-existing without over-complicating  the UI.  Will let those thoughts percolate on my commute home today and see what I come up with (the bus ride tends to bring out some ideas) :)

I also plan to run the script through JSLint this evening to tidy up any issues I may have introduced in the past few versions :)
« Last Edit: July 14, 2015, 10:25:44 AM by Ssieth »

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph.
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: Nestled 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 #159 on: July 15, 2015, 08:42:44 AM »
Love the auto-loading of the drafts, Ssieth!

Thanks again for your work!

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #160 on: July 16, 2015, 07:23:15 AM »
New version: v1.21.0

Manual Draft History
As of v1.21.0 you can now opt to keep a number of manually-created drafts (the default is 3).  If you opt to keep them then there is a new Drafts menu added next to the Snippets one above the post box.  That menu will let you select any of the manually saved drafts as well as the auto-save one.  The Load Draft button will still load the latest draft and the auto-load will still load the latest and the auto-clear will still prevent the last draft being loaded the next time you come to the topic.  However, the auto-clear doesn't clear the history.  For that you need to use the "Clear Draft" button.  It's not as confusing as it sounds when you use it, I promise :)

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #161 on: July 16, 2015, 10:04:03 AM »
v1.22.0

**User Notes**
Switch it on or off (default on) in general settings.  You can add notes to a user in their profile.  It will show up (only to you) there and when you hover over their name in topics.  The names in topics change to green to show there are notes against a user.

Offline MiaFire

  • I myself am made entirely of flaws, stitched together with good intentions... - HPLy
  • Dame
  • Addict
  • *
  • Join Date: Apr 2011
  • Location: "Hubby's Princess" & "His Princess Brat"
  • Gender: Female
  • It came...We fought... I won!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #162 on: July 16, 2015, 10:31:11 AM »
Hi there,

I hope this is the write place to post and apologies if it isn't.  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.


Hello,

Do you have it posted anywhere the actual step process as to what I do after adding the Tamper Monkey to my Chrome? I have clicked Install on your site a couple times and it says it downloaded, but opening it gives me Runtime Error.

Thanks for any help you can provide. The bookmark feature interests me most, since I have over 150 bookmarks, at least.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #163 on: July 16, 2015, 10:33:43 AM »

Hello,

Do you have it posted anywhere the actual step process as to what I do after adding the Tamper Monkey to my Chrome? I have clicked Install on your site a couple times and it says it downloaded, but opening it gives me Runtime Error.

Thanks for any help you can provide. The bookmark feature interests me most, since I have over 150 bookmarks, at least.

Hmmm.. that's really odd... does the error just say "Runtime Error" or are there more details? Also - what are you doing to open it?

Offline MiaFire

  • I myself am made entirely of flaws, stitched together with good intentions... - HPLy
  • Dame
  • Addict
  • *
  • Join Date: Apr 2011
  • Location: "Hubby's Princess" & "His Princess Brat"
  • Gender: Female
  • It came...We fought... I won!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #164 on: July 16, 2015, 10:39:45 AM »
Hmmm.. that's really odd... does the error just say "Runtime Error" or are there more details? Also - what are you doing to open it?

When I go down to the download bar, at the bottom of my screen, to open it, it does it, BUT I am seeing a whole lot of new buttons on some of my E pages too, so maybe it worked, even with telling me the error??

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #165 on: July 16, 2015, 10:42:02 AM »
The most telling differnce you should see is that the menu bar whee you see Home, Search, Profile etc should have changed to something like the following iist:

    Home
    Profile
    PMs
    BMs
    Members
    Script Settings
    Quick Topics
    Replies

For setting bookmarks, just load you bookmarks list and click the icon to the left of each bookmark.  If it's working you should see a popup window to allow you to tag them.

Offline MiaFire

  • I myself am made entirely of flaws, stitched together with good intentions... - HPLy
  • Dame
  • Addict
  • *
  • Join Date: Apr 2011
  • Location: "Hubby's Princess" & "His Princess Brat"
  • Gender: Female
  • It came...We fought... I won!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #166 on: July 16, 2015, 10:44:48 AM »
Great! Thank you. I see that. Time to play with that, once I'm all caught up.

Thanks for all the help. :)

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #167 on: July 16, 2015, 10:46:53 AM »
Great! Thank you. I see that. Time to play with that, once I'm all caught up.

Thanks for all the help. :)

No problem.  I test less frequently on Chrome so it may well be more buggy than on Firefox :)

Good luck :)  You will find most settings/twiddly bits by clicking on the "Script Settings" menu item :)

Offline Rebelle

  • An unwished upon star, a dream unfulfilled || Rebbie || Regret's BB | Codexa is my Writing Wife | His Sleep Siren | Reap What You Sow |
  • Lady
  • Seducer
  • *
  • Join Date: Feb 2015
  • Gender: Female
  • Wait.. My give a damn broke, Sorry.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Greasemonkey Script
« Reply #168 on: July 16, 2015, 01:50:56 PM »
Ssieth,

I really love this it's so fantastic and have found myself missing it when I am on my phone.. which is woefully dead atm.. But that's another story.

I was wondering if there is anything to get rid of the replies section in the home row?

I stare at it as it says replies[7] and well.. I'm part of big games etc and sometimes those posts don't pertain to me.

I tried turning it off in settings but couldn't find it.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #169 on: July 16, 2015, 02:35:51 PM »
Ssieth,

I really love this it's so fantastic and have found myself missing it when I am on my phone.. which is woefully dead atm.. But that's another story.

I was wondering if there is anything to get rid of the replies section in the home row?

I stare at it as it says replies[7] and well.. I'm part of big games etc and sometimes those posts don't pertain to me.

I tried turning it off in settings but couldn't find it.

You are absolutely right.. there is no settting.. I missed it :-S

v1.22.1 is out with the setting in.  It's under General Settings and is pretty obvious :)

Offline Rebelle

  • An unwished upon star, a dream unfulfilled || Rebbie || Regret's BB | Codexa is my Writing Wife | His Sleep Siren | Reap What You Sow |
  • Lady
  • Seducer
  • *
  • Join Date: Feb 2015
  • Gender: Female
  • Wait.. My give a damn broke, Sorry.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Greasemonkey Script
« Reply #170 on: July 16, 2015, 02:39:22 PM »
You are absolutely right.. there is no settting.. I missed it :-S

v1.22.1 is out with the setting in.  It's under General Settings and is pretty obvious :)

Awesome!

Thank you so much!

I'm weird when it comes to the appearance of my browser/site. :)

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #171 on: July 16, 2015, 02:40:36 PM »
Awesome!

Thank you so much!

I'm weird when it comes to the appearance of my browser/site. :)

No problem.  Weirdly the variable was there to switch it on/off but I hadn't hooked it up to the settings interface...

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #172 on: July 17, 2015, 05:52:59 AM »
nonniemouse helped be track down a bug in v1.22.1 with users who didn't have a signature not getting the new notes box in their profile.

v1.22.2 is now out and should fix the problem :)

Offline MiaFire

  • I myself am made entirely of flaws, stitched together with good intentions... - HPLy
  • Dame
  • Addict
  • *
  • Join Date: Apr 2011
  • Location: "Hubby's Princess" & "His Princess Brat"
  • Gender: Female
  • It came...We fought... I won!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Greasemonkey Script
« Reply #173 on: July 17, 2015, 08:40:12 AM »
I've looked at the different parts of the script settings and I can't tell where I can delete bookmark tags. Is there a way to do that?

Thanks for any info.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #174 on: July 17, 2015, 08:44:41 AM »
Hi,

The tags don't really exist as objects in their own right but just as a string held against the topic ID.  You can only ditch a tag by removing it from the topics that have it.  You do that using the same interface as you do for adding BM tags.

If there's call for it then I'm happy to write an interface that can sweep through and remove a given tag from all BMs?

:)