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.

Ssieth

Quote from: MrAlanNH on March 22, 2021, 02:37:08 PM
THank you very much for this!  I too have trouble with GIFs, especially if there are several visible on a page at once. I am running to activate one of these options right now!

I'm glad it's not just me :)  I have my settings on auto-freeze with 15 second delay at the moment.  It gives most gifs a chance to run through completely once or twice before stopping them :)

Let me know how it works out for you :)
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.

Mister Morgue

#826
weird thing I noticed just today. I'm not sure if it's something to do with the most recent firefox update or not.

The script works fine most of the time, but today while I was viewing my buddy list in my profile, it started to be a bit weird. It showed me that I had a billion replies to threads that I have bookmarked but don't follow replies for. I checked them all to set them as done, and then refreshed the page - all the script settings for the menu were gone. Now if I go to any other part of the site it's there, but not on that particular page. Not terribly troublesome, just... interesting?

Edit: It's actually on every setting in the profile section other than the main part of your profile. Again, it doesn't really break anything for me, but it's just interesting to note

Aethyrium

Ssieth. I have been using this for what feels like forever now, and I love it. So much appreciation to all your work.

Do you take feature requests ideas? This may not be worth the time/effort, I have no idea how many people would use it - but I find myself wishing for it often enough now that it's worth mentioning. I love quick topics, they're probably my second favorite feature next to bookmark tags. Would it be possible / is it feasible to add something like a... "Quick Board"? As a group game GM I find myself wanting to pop into specific boards, at the index page (such as here). But since there is no way to bookmark that index page, without using a browser specific bookmark (which is how I do it now) I often have to flit around to get back to my indexes, and it would be amazing if I just had a quick drop down button somewhere that I could lash all of them to easily on site.

Mister Morgue

Quote from: Aethyrium on June 25, 2021, 11:54:55 PM
Ssieth. I have been using this for what feels like forever now, and I love it. So much appreciation to all your work.

Do you take feature requests ideas? This may not be worth the time/effort, I have no idea how many people would use it - but I find myself wishing for it often enough now that it's worth mentioning. I love quick topics, they're probably my second favorite feature next to bookmark tags. Would it be possible / is it feasible to add something like a... "Quick Board"? As a group game GM I find myself wanting to pop into specific boards, at the index page (such as here). But since there is no way to bookmark that index page, without using a browser specific bookmark (which is how I do it now) I often have to flit around to get back to my indexes, and it would be amazing if I just had a quick drop down button somewhere that I could lash all of them to easily on site.

I would actually love this, too - or if there was a way to add it to the quick topics links, even.

Fiadh

#829
Not sure why but as of yesterday, whenever I click "reply", my snippets, drafts, word count etc are no longer available. Although if I hover over Script Settings I can add a snippet that way.

I re-installed today and it's still not working. :/

Edit: Fiddled with my snippets after reading a few comments here. Removing brackets from one of my snippets has solved the problem! Fingers crossed it stays fixed.

FigTree

I've been trying to add the Chrome extension for the past couple days and keep getting error codes. It might be something with me and my IP, but I don't know if it's either a problem with TamperMonkey more broadly or something they've shifted with the code that you need to be aware of :)
.·:*¨¨*:·..·:*:·..·:*¨¨*:·.
Ons/Offs and Image Inspirations
Current Requests Here
A/As Storytelling

.·:*¨¨*:·..·:*:·..·:*¨¨*:·.

Mtpersson

Quote from: FigTree on December 29, 2021, 02:15:19 PM
I've been trying to add the Chrome extension for the past couple days and keep getting error codes. It might be something with me and my IP, but I don't know if it's either a problem with TamperMonkey more broadly or something they've shifted with the code that you need to be aware of :)

I've been having the same issue. I get to the page where the script is, press 'Install', then get an error saying that access was denied.

Ssieth

Sorry - I was away from Elliquiy - are folks still having problems installing the script using Tampermonkey for Chrome?
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

I'm gonna see if I can explain this correctly.

I added a tag for my bookmarks, but realized I spelled it wrong. So I removed the tag and created a new one that was spelled correctly. The problem is it still has the 'tag' there taking up a space in the drop down. It just has no name and is empty and I can't figure out how to get rid of it.

Here is a screenshot:


Ssieth

#834
Quote from: Amaris on January 20, 2022, 01:49:57 PM
I'm gonna see if I can explain this correctly.

I added a tag for my bookmarks, but realized I spelled it wrong. So I removed the tag and created a new one that was spelled correctly. The problem is it still has the 'tag' there taking up a space in the drop down. It just has no name and is empty and I can't figure out how to get rid of it.

Here is a screenshot:


That is _really_ odd and suggests that you might have some sort of odd character in one of your tags (possibly one that's not visible).  It's worth checking each of your BMs to see if it has anything that looks like a blank line or anything of the sort.  If there's any that are without tags do a CTRL+A (or MAC/Linux equivalent) to select anything that might be in the box and delete that before saving/updating the tags.  If that doesn't solve it - prod me again and we can get into debug info to see what might be going.  If we're going there it would be helpful to know which browser you use :)
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

Hey, I use chrome! Thanks for helping. When I go to the setting where I can delete my tags, that blank space doesn't show up. It only showed up after deleting a tag I had made and I'm not sure where to go to edit existing tags to see if there are any extra lines!

I have discord if that would make things easier?



Ssieth

Quote from: Amaris on January 20, 2022, 10:09:10 PM
Hey, I use chrome! Thanks for helping. When I go to the setting where I can delete my tags, that blank space doesn't show up. It only showed up after deleting a tag I had made and I'm not sure where to go to edit existing tags to see if there are any extra lines!

I have discord if that would make things easier?

Discord might be easiest.  I'm Ssieth#4236 :)
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

OK - first new version in an absolute age...

v1.46.1 fixes problems with the GIF-freezing that was introduced in 1.46.0.  It used to rely on the window.stop() function.  That function still works but no longer stops GIFs from animating.  The new code uses HTML5 canvas controls and should be more robust.
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

Rolled out a 1.46.2 fix for the problems that Amaris was experiencing.

Thanks goes to Amaris for patiently helping me debug this one :)
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.

Daeva

I have a quick question with an issue I'm having with the script -

I recently got a new laptop and installed the script on Chrome. While I can use the snippets if I go to Script Settings, the option to use one is no longer an option in the message itself without going through the menu. I did the latest update, uninstalled and reinstalled it with the same issue.

Any suggestions on how I can fix this?

Thanks!!
Absences Updated 6/15/22 Selectively Accepting New Stories
Ons and Offs & Current Story List | Desired RP's

Al Terego

Error in FF console:
Uncaught TypeError: can't access property "indexOf", strUserBlock is undefined

text

10:53:52.304 This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. index.php
10:53:52.867 Uncaught TypeError: can't access property "className", document.getElementById(...) is null
    selectChannel https://elliquiy.com/chat/js/shoutbox.js:62
    <anonymous> https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0:892
shoutbox.js:62:12
10:53:52.894 ignoring https://ssl.google-analytics.com/ga.js on tab 2 frame 0 shims.js:23:19
10:53:53.047 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 injectContentScripts background.js:119:11
10:53:53.240 2022-09-23, 10:53:53 a.m.:startup: -none-: "Starting Elliquiy Improver v1.46.2" Elliquiy Improver.user.js:189:15
10:53:53.352 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 getUserOptions background.js:119:11
10:53:53.365 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 addUserStyles background.js:119:11
10:53:53.368 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 injectComplete background.js:119:11
10:53:53.371 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 getUserOptions 2 background.js:119:11
10:53:53.401 injected quickmenu background.js:820:13
10:53:53.402 buildContextMenu contextMenu.js:6:10
10:53:53.454 Old Conf Elliquiy Improver.user.js:350:11
10:53:53.455
Object { RemovePictures: false, Snippets: true, blUserLists: true, UnreadReplies: true, RepliesMenu: true, WordCount: true, DebugInfo: false, blAjaxButtons: true, TopicFilters: true, strCSSFT_Hi: "background-color: yellow;", … }
Elliquiy Improver.user.js:351:11
10:53:53.457 Saving config Elliquiy Improver.user.js:330:11
10:53:53.457
Object { general: {…}, replies: {…}, topicFilters: {…}, speechStyling: {…}, userNotes: {…}, quickTopics: {…}, autoUpdates: {…}, removeHeadFoot: {…}, shoutbox: {…}, drafts: {…}, … }
Elliquiy Improver.user.js:331:11
10:53:53.462 Page: Elliquiy Improver.user.js:3017:11
10:53:53.463
Object { url: {…}, scroll: -1, type: "profile" }
Elliquiy Improver.user.js:3018:11
10:53:53.469 Uncaught TypeError: can't access property "indexOf", strUserBlock is undefined
    annotateNames moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3294
    main moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3766
    getUserDetails moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:2498
    u moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
    fireWith moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
    k moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
    n moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
index.php:3294:26
10:54:28.991 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 closeQuickMenuRequest background.js:119:11
10:54:36.653 Error: Promised response from onMessage listener went out of scope ExtensionMessagingService.js:89:34
10:57:59.708 can't access property "contentPrincipal", browser is undefined viewSourceUtils.js:274
10:57:59.709 can't access property "contentPrincipal", browser is undefined viewSourceUtils.js:274
10:57:59.843 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    checkIfActive moz-extension://e8640865-f49b-4689-a0bd-6f8396e71959/background.js:16
background.js:16:22
10:58:00.033 buildContextMenu contextMenu.js:6:10
10:58:00.380 This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. index.php
10:58:01.157 buildContextMenu contextMenu.js:6:10
                    

Ssieth

Couple of quick questions:

1. Which URL are you accessing when you get the error?
2. Are you on the default theme for Eli or a different one?

Quote from: Al Terego on September 23, 2022, 10:20:09 AM
Error in FF console:
Uncaught TypeError: can't access property "indexOf", strUserBlock is undefined

text

10:53:52.304 This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. index.php
10:53:52.867 Uncaught TypeError: can't access property "className", document.getElementById(...) is null
    selectChannel https://elliquiy.com/chat/js/shoutbox.js:62
    <anonymous> https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0:892
shoutbox.js:62:12
10:53:52.894 ignoring https://ssl.google-analytics.com/ga.js on tab 2 frame 0 shims.js:23:19
10:53:53.047 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 injectContentScripts background.js:119:11
10:53:53.240 2022-09-23, 10:53:53 a.m.:startup: -none-: "Starting Elliquiy Improver v1.46.2" Elliquiy Improver.user.js:189:15
10:53:53.352 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 getUserOptions background.js:119:11
10:53:53.365 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 addUserStyles background.js:119:11
10:53:53.368 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 injectComplete background.js:119:11
10:53:53.371 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 getUserOptions 2 background.js:119:11
10:53:53.401 injected quickmenu background.js:820:13
10:53:53.402 buildContextMenu contextMenu.js:6:10
10:53:53.454 Old Conf Elliquiy Improver.user.js:350:11
10:53:53.455
Object { RemovePictures: false, Snippets: true, blUserLists: true, UnreadReplies: true, RepliesMenu: true, WordCount: true, DebugInfo: false, blAjaxButtons: true, TopicFilters: true, strCSSFT_Hi: "background-color: yellow;", … }
Elliquiy Improver.user.js:351:11
10:53:53.457 Saving config Elliquiy Improver.user.js:330:11
10:53:53.457
Object { general: {…}, replies: {…}, topicFilters: {…}, speechStyling: {…}, userNotes: {…}, quickTopics: {…}, autoUpdates: {…}, removeHeadFoot: {…}, shoutbox: {…}, drafts: {…}, … }
Elliquiy Improver.user.js:331:11
10:53:53.462 Page: Elliquiy Improver.user.js:3017:11
10:53:53.463
Object { url: {…}, scroll: -1, type: "profile" }
Elliquiy Improver.user.js:3018:11
10:53:53.469 Uncaught TypeError: can't access property "indexOf", strUserBlock is undefined
    annotateNames moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3294
    main moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3766
    getUserDetails moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:2498
    u moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
    fireWith moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
    k moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
    n moz-extension://ae457df4-971d-44e3-a082-5ce3f49ffd62/userscripts/Elliquiy Improver.user.js?id=e026888d-8929-48c3-a142-6b72288b9aaa:3
index.php:3294:26
10:54:28.991 2 https://elliquiy.com/forums/index.php?action=profile;u=37215;area=showposts;start=0 closeQuickMenuRequest background.js:119:11
10:54:36.653 Error: Promised response from onMessage listener went out of scope ExtensionMessagingService.js:89:34
10:57:59.708 can't access property "contentPrincipal", browser is undefined viewSourceUtils.js:274
10:57:59.709 can't access property "contentPrincipal", browser is undefined viewSourceUtils.js:274
10:57:59.843 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    checkIfActive moz-extension://e8640865-f49b-4689-a0bd-6f8396e71959/background.js:16
background.js:16:22
10:58:00.033 buildContextMenu contextMenu.js:6:10
10:58:00.380 This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. index.php
10:58:01.157 buildContextMenu contextMenu.js:6:10
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 September 23, 2022, 10:23:42 AM
1. Which URL are you accessing when you get the error?

https://elliquiy.com/forums/index.php?action=profile;area=showposts;u=63999

(Aside: Damn, Courtney, you play fine ladies!)


Quote from: Ssieth on September 23, 2022, 10:23:42 AM
2. Are you on the default theme for Eli or a different one?

Wide Screen
                    

Ssieth

OK - I pushed a change that should fix it for you :)

v1.46.3
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 23, 2022, 01:25:35 PM
That was fast!
Thank you!

You're welcome - it was a pretty easy one to fix :)
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

So, I know that I can just bookmark stuff on my browser. So this isn't super important, but is there any way that we could get a way to bookmark a big group board?


LaLu

Hi! So bookmark question here!

I bookmarked and gave a topic to the threads for a game last night. They all showed up in my bookmark section when I click bookmark. However when I click on the topic (which is one word) it only shows 7/22 of the threads.

Advice?

Amaris

Quote from: Lady Lunarius on October 23, 2022, 09:36:54 AM
Hi! So bookmark question here!

I bookmarked and gave a topic to the threads for a game last night. They all showed up in my bookmark section when I click bookmark. However when I click on the topic (which is one word) it only shows 7/22 of the threads.

Advice?

If you did it by opening multiple tabs it can sometimes go wonky


LaLu

Quote from: Amaris on October 23, 2022, 09:55:02 AM
If you did it by opening multiple tabs it can sometimes go wonky

Ah yes I did exactly that. I also discovered the little pages thing on the side of the topic lets me put it in its folder so YAY!!!

Thank you <3