TamperMonkey Script

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

atenai

Ah, I see what you mean. I'm used to being able to just archive stuff like that. I'll shut up now. ^-^
~Atenai

IRL Status: Offline. On hiatus.

Atenai's Addictions (O/Os & Ideas), Requests, and Apologies [NEW! 17 Jun '23]
Elluiki User Page (Bio, Stories Old and New)   "Fucking insatiable, teasing brat."

Amaris

Quote from: atenai on July 08, 2023, 03:29:37 PM
Ah, I see what you mean. I'm used to being able to just archive stuff like that. I'll shut up now. ^-^

Yea, with some of the big group rule changes, that was one of them because it messes with the integrity/continuity of other people's writing. I used to do the same.


Ssieth

OK.  First off - limitations of the script:

It can only really affect what you see, not what other folks see.    It can affect what they see, if they are using it but your copy of the script won't communicate with their copy so you can't tell their script to display something differently.

So... we can alter the way you see a topic on the forums but not how someone else sees it unless they to alter it in the same way.... if that make sense?

I already have something for altering the way that topics look on the forums to help me when I'm looking for one-on-one games.  It's called 'topic filters' and lets you hide, mark or highlight individual topics.  You just click on the icon on the far left of the topic and it pops up options to filter. I'm not sure if that sort of things would mark topics out well enough for what you want?
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.

Amaris

Quote from: Ssieth on July 08, 2023, 03:44:31 PM
OK.  First off - limitations of the script:

It can only really affect what you see, not what other folks see.    It can affect what they see, if they are using it but your copy of the script won't communicate with their copy so you can't tell their script to display something differently.

So... we can alter the way you see a topic on the forums but not how someone else sees it unless they to alter it in the same way.... if that make sense?

I already have something for altering the way that topics look on the forums to help me when I'm looking for one-on-one games.  It's called 'topic filters' and lets you hide, mark or highlight individual topics.  You just click on the icon on the far left of the topic and it pops up options to filter. I'm not sure if that sort of things would mark topics out well enough for what you want?

Oh yea, I dont know why I didn't realize it would only effect it for me! I'm dumb, don't mind me!


Amaris

Quote from: Ssieth on June 26, 2023, 12:09:42 PM
And I'm an idiot who doesn't know my own code....

I think there's already a feature for this.... pop into the topic that you don't want to be notified about and, top right:


(click to embiggen)

Hey, so, this doesn't work, i was really hoping it would but no even though i've hit ignore replies it still pops up in 'show new replies to posts' button. And when I click it, it eve shows that I'm ignoring the replies, it just still pops up there.


Ssieth

Quote from: Amaris on July 13, 2023, 10:23:21 PM
Hey, so, this doesn't work, i was really hoping it would but no even though i've hit ignore replies it still pops up in 'show new replies to posts' button. And when I click it, it eve shows that I'm ignoring the replies, it just still pops up there.

You are 100% right and I never realized because I only ever use the counter next to the shout box and the menu Replies rather than actually going in to the board's own replies section.  I think I can probably do something to hide topics in there that you've opted to no longer watch but I need to give it some thunks on how to best go about doing it :)

Will let you all know when I have a solution.
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.

Amaris



Ssieth

Quote from: Amaris on July 14, 2023, 09:11:25 AM
Thank you!

And here it is - v1.50.0 with a new option (on by default): "Hide unwatched replies".  It does what it says on the tin, hides replies that you have "unwatched" from the replies list :)
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.

Amaris

omg thank you so much! I really appreciate you!


Nymphadora

Quote from: Ssieth on July 18, 2023, 04:41:57 AM
And here it is - v1.50.0 with a new option (on by default): "Hide unwatched replies".  It does what it says on the tin, hides replies that you have "unwatched" from the replies list :)

WOW that is frickin AWESOME! Thank you so much!
A&As UPDATED Oct 26/23

Rate:Weekly give or take
Status: Enjoying myself
Availability:
Unavailable for new plottings, sorry.
O&Os Please review
♪As flawed as you may think you are, you're perfect to me!♪

Ssieth

You guys are most welcome.  It wasn't even really much of a job, once I got down to it.  Just needed a bit of thought to work out how to go about doing it.
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

v1.50.2 fixes a longstanding bug around the Replies bookmark auto-tag not working properly. 
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

Busy cabbit is busy!

Thanks for all the work on this, hun!
If one thinks of omniscience as causal rather than predictive- not 'THIS!', but 'If this, then that; infinite matrices of infinite dimensions each- it goes a long way towards reconciliation with Free Will.

It does not, however, make it easier to contemplate or accept a being capable of visualizing such an array.

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

Ssieth

#938
Update v1.52.0 is about to hit :)

I've changed the Snippets menu.  It works pretty much like it did before but with a slightly different menu appearance.  The main difference is that you can now have categories for your snippets :)

Just name your snippet something along the lines of "MyCategoryName__My Snippet".  That's with two underscores between category name and snippet name.  If you do that then your snippets menu will start to have submenus.  Great for when you have more snippets than you care to shake a stick at :)

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.

FyreFoxx

I still love this script so much. <3 Thanks for making it.

It's been a long time since I was active on this site and I think I asked a question a while ago but I don't believe it got a reply. (if I did and missed it, I apologize for asking again!)

I love how the styling makes reading dialogue easier, but custom colors don't work if used within quotations. I've had stories with multiple characters speaking in different colors, but the script styler makes them all the same. Is there a way to have formatted colors take priority over the script styling?

Théfaux
 Current Status: TENTATIVE
 How To Stoke The Fyre (O/O) Updated Aug 19, 2023
 What does the Foxx say? (A/A) Updated Oct 1, 2023
 Den of Iniquity (World Building)

Ssieth

Quote from: FyreFoxx on August 18, 2023, 04:32:22 PM
I still love this script so much. <3 Thanks for making it.

It's been a long time since I was active on this site and I think I asked a question a while ago but I don't believe it got a reply. (if I did and missed it, I apologize for asking again!)

I love how the styling makes reading dialogue easier, but custom colors don't work if used within quotations. I've had stories with multiple characters speaking in different colors, but the script styler makes them all the same. Is there a way to have formatted colors take priority over the script styling?

They should take precedence, so long as you switch on "Include quotes" and then put the color tags within the quotes.  I've done it a few times myself.  It means that the quotes get styled as per the script's speech-styling style and the text inside styles up via the colour tag.

I _might_ be able to do something that specifically detects colour tags in use and doesn't style speech within them, although that might have other side effects
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.

FyreFoxx

Quote from: Ssieth on August 18, 2023, 04:39:41 PM
They should take precedence, so long as you switch on "Include quotes" and then put the color tags within the quotes.  I've done it a few times myself.  It means that the quotes get styled as per the script's speech-styling style and the text inside styles up via the colour tag.

I _might_ be able to do something that specifically detects colour tags in use and doesn't style speech within them, although that might have other side effects

Oh, that's how that works. Usually both my partners and I have used the quotations and formatting within the color tags, so it all gets colored (EX: [color=][/b]"text here") but keeping the quotes outside does keep the color. I'll just have to keep in mind that the quotes have to come before the color tag and see if my partners could follow along.

Adding color tags to dialogue is rare for me, so it's not a priority, but it's nice to know a decent workaround. Thanks for the quick response!

Théfaux
 Current Status: TENTATIVE
 How To Stoke The Fyre (O/O) Updated Aug 19, 2023
 What does the Foxx say? (A/A) Updated Oct 1, 2023
 Den of Iniquity (World Building)

Ssieth

#942
v1.53.0 is about to be released.

Two new items for this one:


       
  • There's a new function that is on by default.  You can switch it off in Settings / Images / Click to Enlarge:  When on, you can click images that have been reduced in size and they will enlarge within their current context.  Click again to put them back to original size.
  • There's a new option for snippets that is off by default.  You can switch it on in Settings / General Settings / Snippets context menu:  Basically this removes the snippets menu from the top of the editor and makes it right-click on the editing box.  I know some of you would prefer the default right-click menu there so that's why it's off by default.

Note: The second of these only really works if you edit/create posts in the code view rather than the rich text one.  I'm not entirely certain what that is but will try and figure it out for a later release.  If you want snippets and use the rich text / HTML view then don't tick the context menu option :)
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

v1.53.1 Fixed a minor bug so that user notes now appear correctly in PM page.
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

1. Is it possible to add some sort of rearranging feature to the snippets?
2. Is it possible for the snippets to reference selected/copied text?

Thanks!
                    

Ssieth

Quote from: Al Terego on August 22, 2023, 09:40:57 AM
1. Is it possible to add some sort of rearranging feature to the snippets?
2. Is it possible for the snippets to reference selected/copied text?

Thanks!

#1 should certainly be possible.
With #2 do you mean a function to create a snippet from the currently selected text?
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

Quote from: Ssieth on August 22, 2023, 11:13:06 AM
With #2 do you mean a function to create a snippet from the currently selected text?

A trivial example would be a snippet like [i]*{selection}*[/i] that will turn the selected text into *text*.

Or [center][img padding=6 height=400]{clipboard}[/img][/center] that will insert and format a copied image url.

Also (relating to #1), in the past, editing a snippet would change its position in the list.  Is it still the case?

Thank you,
-- Al
                    

Ssieth

Quote from: Al Terego on August 22, 2023, 12:52:25 PM
A trivial example would be a snippet like [i]*{selection}*[/i] that will turn the selected text into *text*.

Or [center][img padding=6 height=400]{clipboard}[/img][/center] that will insert and format a copied image url.

Also (relating to #1), in the past, editing a snippet would change its position in the list.  Is it still the case?

Thank you,
-- Al

Ah - I see.  That could probably be done :)  As for editing changing list position etc, I've not changed anything in that code so it should probably still work.  The only thing about the new snipped code that changes ordering is that categories come before uncategorized snippets.
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

Quote from: Ssieth on August 22, 2023, 12:58:57 PM
As for editing changing list position etc, I've not changed anything in that code so it should probably still work.  The only thing about the new snipped code that changes ordering is that categories come before uncategorized snippets.

I was hoping it would be avoidable.  Changing positions interferes with habits.
                    

Ssieth

Quote from: Al Terego on August 22, 2023, 01:17:16 PM
I was hoping it would be avoidable.  Changing positions interferes with habits.

I can certainly have a look at there being a configurable order to snippets.  Maybe with a choice of categories-first or categories-last and then an ability for the user to move stuff around within the categories and uncategorized area and stuff sticking in those orders?

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.