TamperMonkey Script

Started by Ssieth, June 09, 2015, 05:27:11 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Ssieth

New version: 1.54.0


  • The snippets menu no longer automatically updates after you edit/add/delete snippets.  This was breaking some things.  I'll get that working again in another release
  • You can now include %sel% inside a snippet (make sure that it's lowercase) and it will replace that bit with the selected text when you use the snippet.  If there is no selected text then it just puts the snippet in as usual

Sorting snippets - the good news is that you don't need to wait for me to do it.  From the menu: Script Settings / Sort Snippets.  That pops up a screen where you can choose alphabetic or custom.  Select custom and drag and drop them to where you want them.  The system should remember the ordering.  Categories still come before uncategorized snippets... extra feature to change this later on....
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Nymphadora

Quote from: Ssieth on August 23, 2023, 05:37:00 AM
New version: 1.54.0


  • The snippets menu no longer automatically updates after you edit/add/delete snippets.  This was breaking some things.  I'll get that working again in another release
  • You can now include %sel% inside a snippet (make sure that it's lowercase) and it will replace that bit with the selected text when you use the snippet.  If there is no selected text then it just puts the snippet in as usual

Sorting snippets - the good news is that you don't need to wait for me to do it.  From the menu: Script Settings / Sort Snippets.  That pops up a screen where you can choose alphabetic or custom.  Select custom and drag and drop them to where you want them.  The system should remember the ordering.  Categories still come before uncategorized snippets... extra feature to change this later on....

You ROCK!
A&As UPDATED Jan 3, 2025

Rate:Nope
Status: Crafting offline
Availability:
Unavailable for new plottings, sorry.
O&Os Please review
♪As flawed as you may think you are, you're perfect to me!♪

FyreFoxx

How exactly does the word count.. well, count? I've noticed that the word count that the script records on posts does not match the word count in, say, Word, usually off by 2-5 words, sometimes more. It's not that big of a deal, of course, but something I noticed and wondered about on how it calculated the word count and what made it so different from the word count of Word or any other word processor.

Théfaux
  Availability: CLOSED
 How To Stoke The Fyre (O/O)  Updated Dec 18, 2024
 What does the Foxx say? (A/A)  Updated Jan 30, 2025
 Den of Iniquity (World Building / Character Repository)

Ssieth

I suspect that Word does something cleverer than the script.  The script basically:


  • Takes the text of the post and replaces every group of whitespace characters (tabs, newlines, spaces etc) and replaces them with a single space
  • Splits the text up into an array of things separated by spaces (which is approximately an array of words)
  • Returns the count of items in that array
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Al Terego

Hi SSieth!

Is it possible to display the bookmark tags on the bookmarks page (as another column for example)?
                    

Ssieth

Quote from: Al Terego on September 09, 2023, 12:39:26 PM
Hi SSieth!

Is it possible to display the bookmark tags on the bookmarks page (as another column for example)?

So - for each bookmark, which tags it has?
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Al Terego

                    

Ssieth

Quote from: Al Terego on September 09, 2023, 03:07:15 PM
Here are some examples: https://imgur.com/a/6vVpMHx

I think I could do something along those lines.   Would you want any particular behaviour for clicking the tags?
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Al Terego

Hmmm, good question.

Reality manipulation would be nice, but I'm not sure if Tampermonkey has implemented the prerequisite API.

Maybe changing the active filter?
What do the other users think?
                    

Nymphadora

I definitely like the idea of tags. Great suggestion Al!

Personally (after looking at the images you gave as examples, I don't think they would need a column (unless the script required it or that made it easier)

Being able to click on one of the tags that changes the list of bookmarks sounds like a lot of work but would be very cool. I have no idea if that's even possible... I guess that would be what you mean by "Changing the active filter"

But any sort of useful tags would be very cool!
A&As UPDATED Jan 3, 2025

Rate:Nope
Status: Crafting offline
Availability:
Unavailable for new plottings, sorry.
O&Os Please review
♪As flawed as you may think you are, you're perfect to me!♪

Ssieth

OK - will add the listing of tags and having them go to the relevant BM list for the next feature release version (as opposed to oh-hell-there-was-a-bug version) :)
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Nowherewoman

#961
At the moment, at least, the Script's bookmarking tools don't play nice with the new codebase- if the script is on, the BMs page opens and immediately collapses to nothingness.  The problem goes away if I turn the script off outright; still testing.

Also, script setting are no longer available on the header, so...no way to tweak and test that I can find.
Whether it's a breakdown or a breakthrough, shit still gets broken.

more me here now!  (O/Os, ideas and junk): https://elliquiy.com/forums/index.php?topic=215830.0

and mea culpas  (A/As): https://elliquiy.com/forums/index.php?topic=221151.0

TheWanderingMuse

Forgive me if this is already mentioned, but I looked through this thread and didn't see it anywhere. How do I turn off the script? I found it once on the old layout, but I can't seem to find it with the new one. It's not letting me see any of my bookmarks.

Thanks!
  
     
    Head Storyteller
St. Lawrence by Night


Aethyrium

Quote from: TheWanderingMuse on October 18, 2023, 09:46:00 AMForgive me if this is already mentioned, but I looked through this thread and didn't see it anywhere. How do I turn off the script? I found it once on the old layout, but I can't seem to find it with the new one. It's not letting me see any of my bookmarks.

Thanks!
In the top right, you should have a button for extensions. Look for tampermonkey or greasemonkey and click it. Should be a little toggle for "elliquiy improver". Click, refresh, good to go.

Should also be able to do it in your manage extensions menu on your browser, if the script isn't pinned.

FoxWriter

Oh man glad I checked in here! I was having the same bookmark issue. I just went into my extensions an turned Tampermonkey off for now. that fixed it. hopefully Sseith doesn't have to do too much to get the script to play nice with the new website. i don't know much about coding, but i know it's a royal pain the butt when something goes wrong. XP 

TheWanderingMuse

Quote from: Aethyrium on October 18, 2023, 09:51:58 AMIn the top right, you should have a button for extensions. Look for tampermonkey or greasemonkey and click it. Should be a little toggle for "elliquiy improver". Click, refresh, good to go.

Should also be able to do it in your manage extensions menu on your browser, if the script isn't pinned.
You are AWESOME! Thank you :)
  
     
    Head Storyteller
St. Lawrence by Night


Ssieth

Sorry - wasn't aware there were posts in here... losing email notifications threw me in a bit of a spin.

For the moment, I'd advise turning the script off as it's broken in so many ways as a result of the current look of the site.

I'm not planning to do any work on it (despite desperately wanting my snippets back) until we're told that E is as close to the old normal as it's going to get.  At that point I'll get it up and running with a focus on bookmarks and snippets first :)
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Wistful Dream

Thank you for all the work you've done over the years, the script was such a massive improvement to my experience. <3

Nowherewoman

Thanks, Cabbit!  Figured it wouldn't make much sense to do intermediate patches, since they'll likely get borked again by code updates.  Hope you're good!  Miss you!
Whether it's a breakdown or a breakthrough, shit still gets broken.

more me here now!  (O/Os, ideas and junk): https://elliquiy.com/forums/index.php?topic=215830.0

and mea culpas  (A/As): https://elliquiy.com/forums/index.php?topic=221151.0

Nymphadora

Piling on the thanks! Have been a happy user of it for years! Hopefully things calm enough for you to work on it when you can.

Many thanks for what you did for us!
A&As UPDATED Jan 3, 2025

Rate:Nope
Status: Crafting offline
Availability:
Unavailable for new plottings, sorry.
O&Os Please review
♪As flawed as you may think you are, you're perfect to me!♪

Al Terego

And more love from my direction as well!
                    

Ssieth

OK - I am an impatient little cabbit so I have begun work on fixing stuff up, even if it's only an interim solution (I miss my snippets and BM organization too much).

Progress so far:

  • The script is actually loading fully again (initially it just threw its toys out of the pram)
  • BM categories are displaying sa expected
  • Context-menu snippets are working OK
  • I have been able to add new snippets

This is all from very preliminary testing on my part, and I'm going to use the script a bit more before I release an update. Notably - I've not tested adding new bookmarks, deleting bookmarks etc...  More for the coming days.

I hope to have something to produce release that is a basic it-is-sort-of-working script somewhere around mid week.  If there are any areas not mentioned above that people would like me to prioritize, I would be happy to take some guidance on where to focus my efforts :)

Oh - and thank you all for your kind words :)
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Ssieth

Additional features confirmed as working:

  • Speech styling

:)
Posting Status: Hoping for 1-3 per week / game
My ONs and OFFs Page (8th April 2024)
One-on-one ideas (8th April 2024)
Possible Absences (2nd May 2024)

My Tampermonkey Script for Elliquiy

PM me here or find me as ssieth on discord.

Nymphadora

A&As UPDATED Jan 3, 2025

Rate:Nope
Status: Crafting offline
Availability:
Unavailable for new plottings, sorry.
O&Os Please review
♪As flawed as you may think you are, you're perfect to me!♪

keyotess

By accepting what is and making the best use of every situation, life can be fulfilled without a constant demand for more. --Wen Tzu

In writing, a flaw is not the interesting part of a character.  What is interesting is how a person overcomes a flaw.  I want to read how a person overcomes a flaw, not how the flaw overcomes the person.

My story contribution: FemFour: superheroine, Futa, NC-H

On/Offs: https://elliquiy.com/forums/index.php?topic=335439.0