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.

Al Terego

                    

Al Terego

                    

Ssieth

Quote from: Al Terego on June 05, 2020, 12:53:54 PM
Errors in the console log:
https://github.com/Ssieth/eli-userscript/issues/1

Do you get any noticeable symptoms in functionality?  When I go to that the same topic you were on I get some errors but they relate to the embedded video rather than the script.
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

I am only using a very small subset of the functionality so I wouldn't know.
And it happens on every thread, including this one.
                    

Ssieth

Quote from: Al Terego on June 05, 2020, 01:16:46 PM
I am only using a very small subset of the functionality so I wouldn't know.
And it happens on every thread, including this one.

That's weird - I seem to have a pretty much identical setup to your's and I'm not getting any of the errors that you are :(  I'll keep an eye on it and see if it starts appearing for me.  Just to check - if you go into the addons section of settings in FF, does it have any indication that TamperMonkey might be requesting additional permissions?
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

Nope.  Here's a list of the permissions it has:
Access your data for all websites
Input data to the clipboard
Download files and read and modify the browser’s download history
Display notifications to you
Access browser tabs
Access browser activity during navigation
                    

Ssieth

Quote from: Al Terego on June 05, 2020, 01:36:05 PM
Nope.  Here's a list of the permissions it has:
Access your data for all websites
Input data to the clipboard
Download files and read and modify the browser’s download history
Display notifications to you
Access browser tabs
Access browser activity during navigation

Hmm... it's weird.  I've checked and I've got no images or icons delivered as blobs or anything.  The script does also load JQuery and JQueryUI but I can't see them being packaged as blobs...

OK - if I can ask everyone to be vigilant for any new bugs appearing in functionality... if we managed to track any of those we might get to the bottom of what is going 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.

Al Terego

Blob in question seems to consist of the script+dependencies:
https://paste.ee/p/GUKsc
                    

Ssieth

Quote from: Al Terego on June 05, 2020, 02:04:46 PM
Blob in question seems to consist of the script+dependencies:
https://paste.ee/p/GUKsc

Hmmm.. this just gets weirder and weirder.  That is the whole script plus metadata.  If that wasn't making it to the browser then I'd expect nothing to be working at all ...  It might be worth removing the script and reinstalling it to rule out this being a weird artefact of it double-loading scripts.  I can't imagine how it would be but I also can't imagine how it would be anything else, either.

And I've just noticed that I'm not on FF 78b yet.  It _could_ be some weird side effect of that beta release.... hmmmm....
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

#659
Seems to be a TM error.  I am getting it on every page now, even with all scripts disabled.
                    

atenai

Sounds like time to remove Tampermonkey and restart everything before you add it back again?
~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."

Al Terego

The error was triggered by enabling "instant" mode and could be benign.
Reverting back to default got rid of the error.
                    

Ssieth

There's a new version and all credit goes to Al Terego for inspiring this one.

v1.43.1

In this version there's a new section of settings: "Repagination".

This is something where you can alter how many replies you see in a topic.

There's two main options (don't switch them both on or stuff wll be weird). 

Repagination: This loads up more pages of topic replies and puts them into the first page.  Handy if you want to be able to quickly search a whole topic with CTRL+F in your browser or something like that.  There's a small delay between each extra page loading into the bottom of the list to avoid completely spamming the server and you can limit how many pages are loaded at maximum.

Infinity paging: This automatically loads the next page of topic replies as soon as you reach the bottom of the current one.  You just keep scrolling and it keeps loading when you get to the bottom of what you have.

Both are a little experimental and both are switched off by default.
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

#663
Oh Ssieth!! You ROCK!

Repagination is frickin AWESOME! I'm a big one for searching back through things to ensure continuity and will use CTRL+F a lot! This will save sooooooooo much time!


EDIT: This may be too huge an ask but is there any way to include the new features when in a reply?
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

Quote from: Nymphadora on June 06, 2020, 10:40:52 AM
Oh Ssieth!! You ROCK!

Repagination is frickin AWESOME! I'm a big one for searching back through things to ensure continuity and will use CTRL+F a lot! This will save sooooooooo much time!

Serious credit goes to Al Terego for this one, really.  The coding was a little tricky in places but the real barrier with it was applying the concept to Elliquiy :)
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

Quote from: Nymphadora on June 06, 2020, 10:40:52 AM
EDIT: This may be too huge an ask but is there any way to include the new features when in a reply?

Hmmm.. not sure how possible this one will be but I can take a look into it.  I want the current change to settle a little first, just so I can iron out any bugs in it before I move on to applying the concept more widely but I'll add it to the ToDo 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.

Nymphadora

While I tried to follow just what you and Al were talking about, I really didn't understand what the problem was... Not that it matters.

Thanks to Al as well then!  :)


Quote from: Ssieth on June 06, 2020, 10:44:50 AM
Hmmm.. not sure how possible this one will be but I can take a look into it.  I want the current change to settle a little first, just so I can iron out any bugs in it before I move on to applying the concept more widely but I'll add it to the ToDo list :)

No worries at all. More curious than a legit request, really. :)
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!♪

Al Terego

Infinity paging works like a charm!
Thank you!
                    

ZephyrInk

Infinity paging is just perfect! THANK YOU SO MUCH FOR THAT <3

Al Terego

                    

Mister Morgue

Quote from: ZephyrInk on June 08, 2020, 10:51:02 AM
Infinity paging is just perfect! THANK YOU SO MUCH FOR THAT <3

YES I feel exactly the same. I love this!

Chasing Dreams

Hey there. I have a quick question. I apologize if this was already asked/brought up.

When I enabled the word count, the count is off by a few words for most of my posts. I typically type up my posts in Microsoft Word and then copy and paste. Is that what is causing the word count discrepancy?
Selectively Available for NEW stories.
Status ⋮ Around here somewhere.
Posts owed ⋮ 4 out of 11 
Posting Order (Click to see.)

Thank you Amaris for the beautiful signature!


Mister Morgue

Quote from: Chasing Dreams on June 08, 2020, 11:00:06 PM
Hey there. I have a quick question. I apologize if this was already asked/brought up.

When I enabled the word count, the count is off by a few words for most of my posts. I typically type up my posts in Microsoft Word and then copy and paste. Is that what is causing the word count discrepancy?


What I've found - especially if you have code and/or images in your posts, is that the wordcount will show as one or two words more than what it will show when it posts.

Chasing Dreams

Quote from: Mister Morgue on June 09, 2020, 12:11:50 AM
What I've found - especially if you have code and/or images in your posts, is that the wordcount will show as one or two words more than what it will show when it posts.

Thank you letting me know that.
Selectively Available for NEW stories.
Status ⋮ Around here somewhere.
Posts owed ⋮ 4 out of 11 
Posting Order (Click to see.)

Thank you Amaris for the beautiful signature!


clonkertink

Quote from: Mister Morgue on June 09, 2020, 12:11:50 AM
What I've found - especially if you have code and/or images in your posts, is that the wordcount will show as one or two words more than what it will show when it posts.

That makes sense. The tag itself is probably a "word" of its own, and if you're including formatting like

[quote author=Mister Morgue link=topic=230790.msg15456178#msg15456178 date=1591679510]
What I've found - especially if you have code and/or images in your posts, is that the wordcount will show as one or two words [i]more[/i] than what it will show when it posts.
[/quote]


then the space between "quote" and "author" for example will definitely separate it into distinct "words" from the script's point of view.