You are either not logged in or not registered with our community. Click here to register.
 
December 08, 2016, 03:59:14 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!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Greasemonkey Script  (Read 26742 times)

0 Members and 1 Guest are viewing this topic.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #125 on: July 09, 2015, 05:55:34 AM »
Another update: v1.17.0

This update deals purely with the snippets menu.  It has now been moved from the main menu bar to a position to the right of the edit box toolbar.  This means it should always be there when you can make use of it and be hidden when you're just reading :)  It also saves space in the main menu.

I've added a "Snippets" entry to the "Script Settings" menu to give you quick access to add/edit/delete snippets if you want to do that from a non-editbox screen :)

Offline Ron Don Volante

Re: Greasemonkey Script
« Reply #126 on: July 09, 2015, 08:25:48 AM »
I'm having an issue with the "Posts Owed". It's only showing me the list of bookmarks though it did work before.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #127 on: July 09, 2015, 08:34:57 AM »
Hi @wisdomcube.  Can you try a couple of things for me:

1. Switch on "Debugging Information?" in the general features and report what you get at the bttom of the page (in the yellow box).
2. Press CTRL+SHIFT+J and report any errors appearing the in the console window after you have cleared it adn reloaded the page (bookmarks/posts owed).

Thanks :)

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 #128 on: July 09, 2015, 09:21:02 AM »
Eek!  It seems to be working fine for me in v1.6.0->1.6.3.  What symptoms are you seeing?  Is it that you can't add new tags, can't get your BM list trimmed down or something else?

Can you also try pressing CTRL+SHIFT+J?  If you do that you that, click clear and the refresh your E page you should see a line like "Starting Elliquiy Improver v1.16.3".  And then potentially some error messages.  Those messages might point me in the right direction...
The issue I was having was that whenever I would click on one of my BM tags it was showing the full list, not just the ones tagged with that tag. I did specifically check to make sure there were things in the tag, and that there were things not in the tag, and both ways the list never changed.

Now as of this morning and updating to 1.7.x the script seems to be effectively disabled for me. Grease Monkey is running and enabled, and it says 1.7.x Elliquiy improver is installed and running on the page I'm on. Give me a bit for more debug info from ctrl shft j

Update: Debugging info says basically what I assumed. It never displays any message similar to Starting E.I. at all. Simply a warning about getElementById() is null from the Shoutbox thread, and an NS_ERROR_FILE_NOT_FOUND error, as well as SHA-1 encryption not being recommended because well... Yea.

Update 2: After letting the page settle for a bit, this showed up: https://talkgadget.google.com/u/0/talkgadget/_/frame?v=1436379713&hl=en#egtn_tdiusy : Unable to run script because scripts are blocked internally.From an unknown source
« Last Edit: July 09, 2015, 09:30:36 AM by Ritsu »

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #129 on: July 09, 2015, 10:24:30 AM »
The issue I was having was that whenever I would click on one of my BM tags it was showing the full list, not just the ones tagged with that tag. I did specifically check to make sure there were things in the tag, and that there were things not in the tag, and both ways the list never changed.

Now as of this morning and updating to 1.7.x the script seems to be effectively disabled for me. Grease Monkey is running and enabled, and it says 1.7.x Elliquiy improver is installed and running on the page I'm on. Give me a bit for more debug info from ctrl shft j

I think I already know the answer to this one and it was me throwing you off by typoing 1.6.x rather than 1.16.x :-S  However,... can I just check to be sure that it's 1.17.0 that you're on now?

Update: Debugging info says basically what I assumed. It never displays any message similar to Starting E.I. at all. Simply a warning about getElementById() is null from the Shoutbox thread, and an NS_ERROR_FILE_NOT_FOUND error, as well as SHA-1 encryption not being recommended because well... Yea.

Update 2: After letting the page settle for a bit, this showed up: https://talkgadget.google.com/u/0/talkgadget/_/frame?v=1436379713&hl=en#egtn_tdiusy : Unable to run script because scripts are blocked internally.From an unknown source

That's really weird.  can you just make sure that the "Logging" and "JS" buttons at the top are selected?  Those are the areas that should show error messages for javascript and debug info (including the starting/completed messages for the script).  There's also a dropdown for each and at least "Errors" should be selected for JS and all of the options for Logging.

None of the errors you've mentioned should be anything to do with the script.  It doesn't use SHA1 for anything and certainly doesn't do anythnig with talkgadget.  I'm assuming that those are related to other plugins or scripts.

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 #130 on: July 09, 2015, 10:36:25 AM »
I think I already know the answer to this one and it was me throwing you off by typoing 1.6.x rather than 1.16.x :-S  However,... can I just check to be sure that it's 1.17.0 that you're on now?

That's really weird.  can you just make sure that the "Logging" and "JS" buttons at the top are selected?  Those are the areas that should show error messages for javascript and debug info (including the starting/completed messages for the script).  There's also a dropdown for each and at least "Errors" should be selected for JS and all of the options for Logging.

None of the errors you've mentioned should be anything to do with the script.  It doesn't use SHA1 for anything and certainly doesn't do anythnig with talkgadget.  I'm assuming that those are related to other plugins or scripts.
Yes, sorry. I didn't notice the typo either. My bad. Yes I was on version 1.16.3, and 1.17.0 respectively.

Yes they all were properly checked, and the buttons selected. A clear and refresh gives the same as before.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #131 on: July 09, 2015, 10:37:35 AM »
OK - I'm running some JSLint type analysis on it... I'll let you know what I dig up...

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 #132 on: July 09, 2015, 10:38:06 AM »
*curtsies* Thank you muchly.

Offline Ron Don Volante

Re: Greasemonkey Script
« Reply #133 on: July 09, 2015, 10:42:41 AM »
Hi @wisdomcube.  Can you try a couple of things for me:

1. Switch on "Debugging Information?" in the general features and report what you get at the bttom of the page (in the yellow box).
2. Press CTRL+SHIFT+J and report any errors appearing the in the console window after you have cleared it adn reloaded the page (bookmarks/posts owed).

Thanks :)

Are you saying General features of Greasemonkey or Firefox? Because I'm a n00b and can't find either >.<

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #134 on: July 09, 2015, 10:43:56 AM »
Are you saying General features of Greasemonkey or Firefox? Because I'm a n00b and can't find either >.<

Neither :)  Thre should be a "Script Settings" item on the main Eliquiy menu bar.  Click that and the script settings should pop up :)

Offline Ron Don Volante

Re: Greasemonkey Script
« Reply #135 on: July 09, 2015, 11:08:57 AM »
Looks like an error in the getUserInfo function of the script:

TypeError: $detailedInfo.find(...).val(...) is undefined
      user["refLink"] = $detailedInfo.find("dd:eq(5) input").val().trim();

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #136 on: July 09, 2015, 11:13:39 AM »
Oh. That's not used anyway. When I'm back at my PC I'll comment it out for next version.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #137 on: July 09, 2015, 03:00:38 PM »
Oh. That's not used anyway. When I'm back at my PC I'll comment it out for next version.

Commented out and about 80 or so bits of code tidy-up which may have caused problems here or there.

v1.17.2 is now up

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 #138 on: July 09, 2015, 04:44:28 PM »
Cool!! That fixed things for me. Or more specifically the script is back, and bookmark filtering is working.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #139 on: July 09, 2015, 04:46:31 PM »
Cool!! That fixed things for me. Or more specifically the script is back, and bookmark filtering is working.

Yay!  I have literally no idea which bit of tinkering I did might have fixed things.  As best I can tell it was all pretty inconsequential but if it works then I am delighted :D

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 #140 on: July 09, 2015, 05:11:38 PM »
Me too!!

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #141 on: July 09, 2015, 05:12:58 PM »
Me too!!

Oh - and it's off-topic but I have to say it anyway - I adore your avatar :D

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 #142 on: July 09, 2015, 05:19:32 PM »
Oh - and it's off-topic but I have to say it anyway - I adore your avatar :D
*beams* Thank you! Literally every bit of color on her skin is self painted on.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #143 on: July 10, 2015, 02:35:33 AM »
OK - there's a new version out v1.18.0.

I have been requested, by a site admin, to disable the option to remove donation and newsbox sections from the header.  The new version doesn't have those options.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #144 on: July 10, 2015, 03:20:12 AM »
And a very small tweak to stop the snippets form popping up when you click on the Script Settings menu.

Offline Vekseid

Re: Greasemonkey Script
« Reply #145 on: July 10, 2015, 04:23:48 AM »
Thank you. I know not everyone likes them : /

Patreon has begun the skeleton of an API but it still requires that I store my Patreon password on the site, so still holding off on tying features to donating. They're progressing a lot slower on this than I thought they would, but it's not like I'm in any position to point fingers.

One option would be to use one of my other servers as an intermediary, but it still makes me uncomfortable to expose financial data.

Question, I know with Veks trying to make the move to elkart things are going to change as far as the codebase is concenerd, etc. Including the upgrade of the pm system apparently. That being said,

1) What does that mean for this script,

As I mentioned, there will be a third site that I'll be using to develop, so Ssieth will be able to check that out as we develop that.

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #146 on: July 10, 2015, 04:31:19 AM »
Thank you. I know not everyone likes them : /

No problem - last thing I want to do is cause any problems for anyone involved in keeping E running :)

Patreon has begun the skeleton of an API but it still requires that I store my Patreon password on the site, so still holding off on tying features to donating. They're progressing a lot slower on this than I thought they would, but it's not like I'm in any position to point fingers.

Ick... that's horrible.  They really shouldn't be doing anything to encourage anyone to expose passwords.  There's so many ways to dish out limited rights for API that don't require a standard password and that are well tested and documented...

*shakes head in despair* 

Still - if they're at an early stage with the API then it may just be a matter of time before they come around to something more acceptable.

One option would be to use one of my other servers as an intermediary, but it still makes me uncomfortable to expose financial data.

As I mentioned, there will be a third site that I'll be using to develop, so Ssieth will be able to check that out as we develop that.

Ooh - thank you :)  And if there is anything I might be able to do to help the effort, do prod me :)

Offline Reno

Re: Greasemonkey Script
« Reply #147 on: July 10, 2015, 09:45:01 AM »
OK - it should now be working.  For some reason Chrome really objects to declaring variables inside the declaration of a for loop seemingly.  Changing that has fixed it :)

I think I've also fixed the Chrome shoutbox colour issue :)

v1.16.3 is the new release

Whatever you did also makes it run for Tampermonkey Beta on Opera now! I didn't report it because Beta on Opera, but this makes me happy. :D

Offline SsiethTopic starter

Re: Greasemonkey Script
« Reply #148 on: July 10, 2015, 09:48:15 AM »
Whatever you did also makes it run for Tampermonkey Beta on Opera now! I didn't report it because Beta on Opera, but this makes me happy. :D

Excellent, I shall feel extra specially smug about coincidentally fixing a problem I was unaware of in a product I don't use for a version that hasn't been released ;p

In all seriousness, though, I'm delighted to have one more person who can use it :D  If you have any more problems then let me know.  It will probably be me not adhering strictly to JS standards and will probably be fixed by me running something like JSLint to tell me where my bad habits are getting in the way of good code ;p

Offline Reno

Re: Greasemonkey Script
« Reply #149 on: July 10, 2015, 09:49:39 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. ;)