You are either not logged in or not registered with our community. Click here to register.
 
February 18, 2020, 04:27:35 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 Platinum Send us your theme!

Wiki Blogs Dicebot

Author Topic: TamperMonkey Script  (Read 76083 times)

0 Members and 1 Guest are viewing this topic.

Offline persephone325

  • E's Resident Bucky Barnes/Winter Soldier Addict | Lady White Wolf | Bucky Bait/Buckygirl | Howling's Dagger | Queen of the Underworld | A sentient pile of kittens | Always blame Bucky | Myers Fangirl
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Following the White Wolf...
  • Gender: Female
  • Ready to comply...
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: TamperMonkey Script
« Reply #525 on: May 04, 2019, 06:57:16 AM »
Mozilla is experiencing some weirdness and has disabled add-ons - though I don't know if this is happening for every Firefox user.

I'm scouring Reddit for possible fixes so I can get back to using this script/TamperMonkey ASAP. (or I may just switch to Chrome 'til Firefox sorts itself out)


Yeah. I'm having that problem, but everything still seems to be working for me in regards to the script. *shrug*

Offline Amaris

  • [Legate][They/Them][Extramaris][Saturday][WooderWoman][Stinky Pete]["The Mayo"][Calypso][BBF][Moon Moon]
  • Centurion
  • Addict
  • *
  • Join Date: Aug 2017
  • The moon and I are too much in love.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 7
Re: TamperMonkey Script
« Reply #526 on: May 04, 2019, 05:55:42 PM »
Mozilla is experiencing some weirdness and has disabled add-ons - though I don't know if this is happening for every Firefox user.

I'm scouring Reddit for possible fixes so I can get back to using this script/TamperMonkey ASAP. (or I may just switch to Chrome 'til Firefox sorts itself out)


It's happening for a lot. Some people had fixes here.

Offline Ziether

Re: TamperMonkey Script
« Reply #527 on: July 22, 2019, 03:09:29 PM »
There isn't a way to turn off just the functionality that highlights text within specific quotation marks as blue, is there?

Online Peripherie

  • Tipsy She-elf, Periwinkle, Adorkable, Sugar Plum Peri, Pericorn, Periscope, Minx
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Stargazing
  • Gender: Female
  • No pants are the best pants.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: TamperMonkey Script
« Reply #528 on: July 22, 2019, 03:15:24 PM »
There isn't a way to turn off just the functionality that highlights text within specific quotation marks as blue, is there?

Yes! When you hover over Script Settings - you actually click on the words 'Script Settings'. Then you click on 'Speech Styling' and you can disable everything or change the color. You can also include or not include the quotation marks in the coloring. Be sure to scroll down and click save.

I don't know if you will have to reopen the browser tab/window to make it start working or not. I turned it off a while ago myself. :)

Offline Ziether

Re: TamperMonkey Script
« Reply #529 on: July 22, 2019, 03:17:12 PM »
>.<

I...never saw that menu until just now. Thanks. I'll go back to my little hole now.

Online Peripherie

  • Tipsy She-elf, Periwinkle, Adorkable, Sugar Plum Peri, Pericorn, Periscope, Minx
  • Dame
  • Addict
  • *
  • Join Date: Jul 2012
  • Location: Stargazing
  • Gender: Female
  • No pants are the best pants.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: TamperMonkey Script
« Reply #530 on: July 22, 2019, 03:20:01 PM »
>.<

I...never saw that menu until just now. Thanks. I'll go back to my little hole now.

Nuuuu... *offers hugs* Because of the hover drop-down function I didn't click and realize there was a menu until someone mentioned something here too.

Offline Jaclyn

Re: TamperMonkey Script
« Reply #531 on: August 10, 2019, 03:58:36 PM »
My dear Ssieth,

  I believe Vekseid, the boss of this place, to be in the final throes of testing the new software (ElkArte) he intends to deploy here replacing SMF. Have you considered contacting him to test your scripts in his test area which he almost certainly has hidden away somewhere for trusted testers. Because honestly, I think I’ve forgotten how to play without using Snippets.

Hugs,
  — J

Offline NightLux

Re: TamperMonkey Script
« Reply #532 on: September 10, 2019, 09:22:32 AM »
My dear Ssieth,

  I believe Vekseid, the boss of this place, to be in the final throes of testing the new software (ElkArte) he intends to deploy here replacing SMF. Have you considered contacting him to test your scripts in his test area which he almost certainly has hidden away somewhere for trusted testers. Because honestly, I think I’ve forgotten how to play without using Snippets.

Hugs,
  — J

I know its not quite the point of the thread, but are there any updates to that timing?

Offline Jaclyn

Re: TamperMonkey Script
« Reply #533 on: September 10, 2019, 04:51:22 PM »
This from yesterday https://elliquiy.com/forums/index.php?topic=310478.0. Every so often, I run a Search for Elkarte by User Vekseid.

Since Vekseid seems to prominently post when he needs something from us as he did for the Os/Os Matrix, I’m trusting he’ll keep us informed.
« Last Edit: September 10, 2019, 04:57:06 PM by Jaclyn »

Offline Vekseid

Re: TamperMonkey Script
« Reply #534 on: September 10, 2019, 09:05:41 PM »
Chances are fairly decent that most of Ssieth's script will still work after the upgrade. If it doesn't and she's not back by then I can look into it.

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #535 on: October 30, 2019, 09:20:35 AM »
I feel like this might be noted in the thread somewhere, but, is the script reliant upon Username and not the displayed name? As I've changed my name, now it's showing all my posts as being owed, even if I was the last person to post in them. If it's reliant upon user ID#, what the heck is going on. Because changing my username wouldn't effect my user ID number, so if that's the case I don't know what the hell's going on.

I thought clearing my cache might have adjusted it, but no luck. If it's reliant upon username (which stays the same when you change your name on E), then that would explain why things went wonky on me now.
« Last Edit: October 30, 2019, 12:34:42 PM by Mister Morgue »

Offline BlueOrange

Re: TamperMonkey Script
« Reply #536 on: October 31, 2019, 04:21:37 AM »
My guess would be that user ID is not included in the HTML, which would mean it’s not available to the script. Given that usernames are mostly stable, I’d be willing to do it that way if I were writing it.

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #537 on: October 31, 2019, 06:36:45 AM »
My guess would be that user ID is not included in the HTML, which would mean it’s not available to the script. Given that usernames are mostly stable, I’d be willing to do it that way if I were writing it.

I don't know enough about javascript to really say. When I looked at the code to see if I could suss it out at all, just so I could know, the only thing I found was that it looked for the last user by user.id - whatever that is, I'm not sure if it's the ID# or if it's the person's username. I just assumed that since the site uses your ID# to keep track of you as a user, that would be how the script did it. I suppose I can only hope that Ssieth sees my question and can give me an answer in either regard. I don't know if it's a thing that can be fixed, or changed, and I'm sure that it's pretty complicated. Or, at least I assume it is.

For me the post owed auto tag is one of the things I've been using for so long it's almost like I can hardly function without it XD I just need to know if there's something I can do to get it working again, or if it's out of my hands at this point because I changed my display name.

Offline Nowherewoman

  • 3 parts empathy to 2 parts don't give a f**k. Stir gently.
  • Oracle
  • Carnite
  • *
  • Join Date: Aug 2014
  • Location: Never where I though I was.
  • Gender: Female
  • Unmolested language surges towards knowledge- T. M
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #538 on: October 31, 2019, 06:50:28 AM »
I've poked the cabbit elsewhere- hopefully they'll have a free moment to nip over and at least answer questions.

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #539 on: October 31, 2019, 06:56:27 AM »
I've poked the cabbit elsewhere- hopefully they'll have a free moment to nip over and at least answer questions.

Thank you~ <3

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #540 on: October 31, 2019, 08:53:40 AM »
Hello there :)

Sorry for lack of response but I've been taking an extended break from Eli.  There will certainly be some issues switching over to the new site as the script is pretty senstive to finding specific things in the HTML of the pages.  It should all be fixable, though, if I can grab a little time testing it on the new site.  Is there a link anywhere I can poke and prod at the new site or is it not available yet?

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #541 on: October 31, 2019, 09:29:52 AM »
I don't know about that, you'd have to ask Veks about it.

My question was: I recently changed my displayed username (Your log-in remains the same as your initial username that you created on joining E). I use the Posts Owed feature of the script, but now all of my posts show as me owing them, even if I was the last person to post in it. I thought that the script used user ID#, so I'm not sure why this might be happening.
I cleared out my cache, and even uninstalled and re-installed the plugin to see if that might sort it out with no luck.

Any ideas?

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #542 on: October 31, 2019, 09:33:50 AM »
I don't know about that, you'd have to ask Veks about it.

My question was: I recently changed my displayed username (Your log-in remains the same as your initial username that you created on joining E). I use the Posts Owed feature of the script, but now all of my posts show as me owing them, even if I was the last person to post in it. I thought that the script used user ID#, so I'm not sure why this might be happening.
I cleared out my cache, and even uninstalled and re-installed the plugin to see if that might sort it out with no luck.

Any ideas?

I've pm'd Veks so hopefully can get working on a version that works with the new site soonish.  Ideally, it'd be good to know the script worked from day 1 :)

As for recognizing users, the sript users the username, I think.  I'lll take a propper look when I'm at home this evening.  Currently I'm accessing Eli from via proxy at work and so none of the scripts I have run...

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #543 on: October 31, 2019, 09:37:01 AM »
I've pm'd Veks so hopefully can get working on a version that works with the new site soonish.  Ideally, it'd be good to know the script worked from day 1 :)

As for recognizing users, the sript users the username, I think.  I'lll take a propper look when I'm at home this evening.  Currently I'm accessing Eli from via proxy at work and so none of the scripts I have run...

Oki doki! Thanks for looking into it!

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #544 on: October 31, 2019, 02:59:08 PM »
Oki doki! Thanks for looking into it!

Hooookay... here's what I have learned from looking into it so far...  For bookmarks and games in which you owe a move (and a pile of other things) it works on username.  Any time you see user.id in stripts, that's what it is referring to :)

It gets your username by looking at your profile page so will assume that your username is whatever is set there.  If you want to see who it thinks you are, you can switch on "Debugging Information" in the Script Settings (it's under the General section).  That will add a yellow pannel to the bottom of the page with a load of info in, including what it thinks your username is.

Now - it tries to match that information up against the name for whoever last posted in a given topic in your bookmarks.  If that's the same username then it marks it as not owed and if it isn't then it assumes that you owe a post there (hence it only really works for one-on-one games).

Um... I hope that might explain what you are seeing and that maybe it means you just need to wait it out until you next post in those topics.

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #545 on: October 31, 2019, 03:24:13 PM »
I have posted in several topics since I did the name change, and all it does is move those to the top of my "owed" list rather than marking them as no longer owed.

My issue, I think, is that I changed my display name. My username is still the same (as I cannot change that) but my displayed name is different. I had initially assumed it went by User ID# which is the same regardless as to your display name.

I suppose then there's nothing I can do about the posts owed auto tagging. I even tried using the replies auto tagging, but that doesn't really work either.

EDIT: Yeah, It's going on my old name.

« Last Edit: October 31, 2019, 03:29:07 PM by Mister Morgue »

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #546 on: October 31, 2019, 03:32:30 PM »
I have posted in several topics since I did the name change, and all it does is move those to the top of my "owed" list rather than marking them as no longer owed.

My issue, I think, is that I changed my display name. My username is still the same (as I cannot change that) but my displayed name is different. I had initially assumed it went by User ID# which is the same regardless as to your display name.

I suppose then there's nothing I can do about the posts owed auto tagging. I even tried using the replies auto tagging, but that doesn't really work either.

EDIT: Yeah, It's going on my old name.



OK - let me see if I can find a way for it to use  your display name... I'll need to do a bit experimentation at my end...

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #547 on: October 31, 2019, 03:33:00 PM »
OK - let me see if I can find a way for it to use  your display name... I'll need to do a bit experimentation at my end...

Sorry to be a pain in the butt! >_<; Thank you for looking into it, at the very least!

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #548 on: October 31, 2019, 03:37:20 PM »
No problem - your question brought me back to Eli (in a slightly roundabout way) and it's making me want to jump into some games so I should be thanking you, really :)

Could you do me a favour and grab me a screenshot of the top section of your profile?  Down to about where it says Last Active if there's nothing you feel is sensitive in there :)  I'm trying to work out how it's different if you have a different display name :)

Offline Mister Morgue

  • .☆☆ ʜᴏᴘᴇʟᴇss ʀᴏᴍᴀɴᴛɪᴄ ☆☆. .☆☆ ɢᴇɴᴛʟᴇᴍᴀɴ ᴅᴇᴍᴏɴ ☆☆. .☆☆ ·.· ғᴛᴍ ʜᴇ/ᴛʜᴇʏ ·.· ☆☆.
  • Oracle
  • Enchanter
  • *
  • Join Date: Aug 2017
  • Gender: Male
  • ʏᴏᴜ'ᴠᴇ ʜᴀᴜɴᴛᴇᴅ ᴍᴇ ɪɴ ᴄᴏʟᴏᴜʀs ɪ'ᴠᴇ ɴᴇᴠᴇʀ sᴇᴇɴ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #549 on: October 31, 2019, 03:43:49 PM »
No problem - your question brought me back to Eli (in a slightly roundabout way) and it's making me want to jump into some games so I should be thanking you, really :)

Could you do me a favour and grab me a screenshot of the top section of your profile?  Down to about where it says Last Active if there's nothing you feel is sensitive in there :)  I'm trying to work out how it's different if you have a different display name :)

Aww, I'm glad that you got back into some stories!

Here's a screenshot, I just hid my IP address :B (not that it matters all that much)

Spoiler: Click to Show/Hide

EDIT: I should say I'm not sure if this looks different to non O/G levels. o_o;
« Last Edit: October 31, 2019, 03:49:47 PM by Mister Morgue »