You are either not logged in or not registered with our community. Click here to register.
 
February 05, 2023, 11:52:47 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 160581 times)

0 Members and 1 Guest are viewing this topic.

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #575 on: March 15, 2020, 06:19:54 am »
Works fine for me.

What steps are you taking? Maybe I can help. :)


Offline Daena

  • The stories are woven, And fortunes are told. The truth is measured by the weight of your gold.
  • Lady
  • Seducer
  • *
  • Join Date: Feb 2019
  • Location: Where the magic lies scattered, On rugs on the ground..
  • Gender: Female
  • Faith is conjured in the night market's sound.
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #576 on: March 15, 2020, 07:26:51 am »
A brief flying visit to let you all know that I've put v1.40.1 up at https://github.com/Ssieth/eli-userscript/raw/master/eli.user.js

There's no changes in there that anyone should notice - just a few bug fixes to make the code more closely conform to the JavaScript standards.  This might have very minor positive impacts on those folks using Chrome (which is more exacting in what it expects than FireFox) but I would imagine probably not.


So the steps, I very likely am doing something wrong I have zero idea of what I'm doing so:

I clicked that link

It opens a new window briefly, then I get an option to click continue or discard - saying Extensions, apps, and themes can harm your computer. Are you sure you want to continue - I click continue.

Then it downloads saying eli.users.js

I click that - it opens a thing saying to open the file I click open

and finally, I get a Windows Script Host error. Syntax Error with a code 800A03EA Microsoft JScript compilation error.

I'm using chrome.

No clue what I'm doing in truth.

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #577 on: March 15, 2020, 07:30:16 am »
Did you get Tampermonkey for Chrome installed first?

Offline Daena

  • The stories are woven, And fortunes are told. The truth is measured by the weight of your gold.
  • Lady
  • Seducer
  • *
  • Join Date: Feb 2019
  • Location: Where the magic lies scattered, On rugs on the ground..
  • Gender: Female
  • Faith is conjured in the night market's sound.
  • View My Rolls
  • Referrals: 4
Re: TamperMonkey Script
« Reply #578 on: March 15, 2020, 08:08:28 am »
Nope that was my mistake. I fail at this stuff.

Thank you so much!

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #579 on: March 15, 2020, 08:15:40 am »
My pleasure! If you need more help just pop your questions here and I'll see if I can answer.

Other folks pop in to help too when they can. :)

Offline clonkertink

  • [Noob-Friendly][Systems Machine][Dapper Automaton][Pied Piper of Perverts][Duly Elected Boob Minister][Junker]
  • Lord
  • Addict
  • *
  • Join Date: Oct 2016
  • Gender: Male
  • Beware, I was cursed by a wicked dice witch.
  • View My Rolls
  • Referrals: 25
Re: TamperMonkey Script
« Reply #580 on: March 15, 2020, 11:06:04 am »
I’ve noticed that recently the “snippets” button has disappeared for me. In order to access ly snippets I need to go into script settings and access my snippets from there. Did I just disable an option somewhere? Any insight would be appreciated.

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #581 on: March 15, 2020, 11:10:19 am »
Under General in the Script Settings there is a checkbox for Snippets. You might check if it has a checkmark or not. I have snippets in my reply window like normal.

Offline clonkertink

  • [Noob-Friendly][Systems Machine][Dapper Automaton][Pied Piper of Perverts][Duly Elected Boob Minister][Junker]
  • Lord
  • Addict
  • *
  • Join Date: Oct 2016
  • Gender: Male
  • Beware, I was cursed by a wicked dice witch.
  • View My Rolls
  • Referrals: 25
Re: TamperMonkey Script
« Reply #582 on: March 15, 2020, 11:14:19 am »
Huh. I do have the snippets box checked.

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #583 on: March 15, 2020, 11:23:03 am »
Maybe try unchecking it. Refresh E and then check it again... see if that does something. This is a guess at a suggestion.

Maybe check the script version too, make sure you have the current one.

Offline clonkertink

  • [Noob-Friendly][Systems Machine][Dapper Automaton][Pied Piper of Perverts][Duly Elected Boob Minister][Junker]
  • Lord
  • Addict
  • *
  • Join Date: Oct 2016
  • Gender: Male
  • Beware, I was cursed by a wicked dice witch.
  • View My Rolls
  • Referrals: 25
Re: TamperMonkey Script
« Reply #584 on: March 15, 2020, 11:33:57 am »
I'm on version 1.40.1.

Clicking "Get Latest Version" shows 1.39.0 as the most recent version, which is a little odd.

Unchecking the box did seem to disable snippets, leaving the snippet library empty. Reenabling brought back my snippet library, but still didn't restore the actual button.

Oddly, disabling snippets did cause a "Users" button to show up, which vanished the moment snippets were reenabled.

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #585 on: March 15, 2020, 11:37:50 am »
Ah, looks like the "get Latest Version" goes to an old location. Ssieth is using Github now I believe. https://elliquiy.com/forums/index.php?topic=230790.msg15146646#msg15146646 which is where the 1.40.1 version came from.

Not sure what else to suggest... Does seem like odd behaviour though.

Someone else may have more to suggest or Ssieth may pop by.

If I think of something else I'll let you know.

Offline clonkertink

  • [Noob-Friendly][Systems Machine][Dapper Automaton][Pied Piper of Perverts][Duly Elected Boob Minister][Junker]
  • Lord
  • Addict
  • *
  • Join Date: Oct 2016
  • Gender: Male
  • Beware, I was cursed by a wicked dice witch.
  • View My Rolls
  • Referrals: 25
Re: TamperMonkey Script
« Reply #586 on: March 15, 2020, 11:59:34 am »
Thanks for giving it a go anyways, Nymphadora, and thanks for the Github link!

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #587 on: March 15, 2020, 12:00:56 pm »
My pleasure!

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #588 on: April 08, 2020, 01:02:33 pm »
OK - I released a very quick update to cope with the fact that FireFox made some changes in their last update that has broken the script a bit.  Should be fixed now.

clonkertink - are snippets still broken for you?

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #589 on: April 08, 2020, 01:05:23 pm »
Er.. and another quick update to point the Get Latest Version to the right place for the new repository :)

Offline clonkertink

  • [Noob-Friendly][Systems Machine][Dapper Automaton][Pied Piper of Perverts][Duly Elected Boob Minister][Junker]
  • Lord
  • Addict
  • *
  • Join Date: Oct 2016
  • Gender: Male
  • Beware, I was cursed by a wicked dice witch.
  • View My Rolls
  • Referrals: 25
Re: TamperMonkey Script
« Reply #590 on: April 09, 2020, 09:40:29 am »
Yeah, I still have to go to Script Settings > Snippets to access them. The snippets button still doesn't appear by the text box.

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #591 on: April 09, 2020, 09:43:22 am »
Yeah, I still have to go to Script Settings > Snippets to access them. The snippets button still doesn't appear by the text box.

OK - I'll do some stuff at the long weekend and see if I can replicate and fix the issue.  If I need any more info, I'll PM you :)

If it's a data issue then I may need to ask you to run a second script to extract the data so we can see what is what but hopefully it'll be something simpler to hunt down :)

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #592 on: April 12, 2020, 05:36:42 am »
v1.40.4 isn't really an update so much as an attempt to track down a bug.  There's really nothing new to see here...

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #593 on: April 12, 2020, 06:44:57 am »
Thanks for doing some work on it! Not that I've seen any bugs myself lately, just a random thanks ;)

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #594 on: April 12, 2020, 07:04:40 am »
Thanks for doing some work on it! Not that I've seen any bugs myself lately, just a random thanks ;)

No problem - gotta do something during lockdown ;p

I hope that you're doing OK on your end of things :)

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #595 on: April 12, 2020, 08:11:49 am »
No problem - gotta do something during lockdown ;p

I hope that you're doing OK on your end of things :)

So far so good here. Staying safe, thanks.

Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #596 on: April 12, 2020, 08:13:13 am »
So far so good here. Staying safe, thanks.

Cool - same here :)  And love the Easter-themed avatar :)

Offline Nymphadora

  • Tonks, if she were shy. The knitting Nymph. Nymphadorable. Nymphy ♥
  • Dame
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: A Canadian in Brooklyn
  • Gender: Female
  • You can't take the sky from me.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #597 on: April 12, 2020, 08:45:40 am »
Cool - same here :)  And love the Easter-themed avatar :)

Why thank you! Soon I will flip to a nice Spring pretty. ;)


Offline SsiethTopic starter

Re: TamperMonkey Script
« Reply #598 on: April 13, 2020, 08:04:31 am »
OK - proper new version now....

v1.41.1
  • A fix for a bug that clonkertink helped me track down with snippets.  It has a problem with colons in the name/ID of snippets and so now if you save one with a colon in, it will be automatically removed.  Colons in the body of the snippet should still be fine :)
  • And based on the comments from atenai - I have split out the settings for replies from the General section and given them their own Replies section.  There's a new setting in there of "Replies links go to first new post?".  Kinda does what it says and I hope it's what you want, atenai

https://github.com/Ssieth/eli-userscript/raw/master/eli.user.js

If anyone is still having problems with anything, let me know :)  Lockdown is good for scripting energy :)

Online atenai

  • Chaotic Crazy Cat Lady
  • Lady
  • Seducer
  • *
  • Join Date: Aug 2013
  • Location: Boston, MA, USA
  • Gender: Female
  • Dreamers never die.
  • View My Rolls
  • Referrals: 3
Re: TamperMonkey Script
« Reply #599 on: April 13, 2020, 11:04:40 am »
That's great, Ssieth, thank you! It's especially helpful in very active social threads, where I can miss entire pages of comments/pictures/etc if I jump to the end of the thread after a solid night's sleep. (Also, damn some people are so active in 12 hours it's scary...)

Much appreciated!