twitch-points-autoclicker icon indicating copy to clipboard operation
twitch-points-autoclicker copied to clipboard

Auto clicking doesn't appear to be working recently

Open clickwir opened this issue 6 months ago • 15 comments

Before Reporting Refresh your Twitch page! (I know it sounds stupid, but trust me it works.) Have done this several times, plus rebooted a few times.

If that fails, specify the version of the extension This can either be the main version or LITE version Main version 1.6.1

Describe the bug A clear and concise description of what the bug is. I see the little bonus icon show up and it just sits there, occasionally shaking itself. I've refreshed the page several times, went into Twitch Points AutoClicker (TPAC) and saved my settings again. Restarted the browser a few times and have rebooted PC at least twice. Bonus box still shows up and stays there.

Note which logging steps are missing Open your browser console (F12 and navigate to "Console" tab), and look for the output from "twitch-clicker.js":

  • Twitch Points Autoclicker: Initialized!
  • Detected inside of a channel page.
  • Element detected.
  • Twitch Points Autoclicker: Clicked! Detected inside of a channel page. twitch-clicker.js:78:11 Element detected. twitch-clicker.js:5:10 Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12 ReferenceError: msg is not defined twitch-clicker.js:26:13

Sometimes it might be useful to note, which browser you are using:

  • Firefox/Chrome/Brave/etc
  • Browser Version [e.g. 22 or 74.0.3729.169] Firefox 138.0.1 on Kubuntu 25.04 (plucky)

Was working a few days ago. Hasn't been working properly for a few days now.

clickwir avatar May 11 '25 00:05 clickwir

Next time you see the issue, go to chrome://extensions. Click inspect background page and post the error here. That will be super helpful, unless the bug here is obvious to the owner.

I can fix it if the owner doesn't have time.

svn-dys avatar May 11 '25 01:05 svn-dys

On Firefox? Doesn't seem to do anything when I try going to chrome://extensions

clickwir avatar May 11 '25 03:05 clickwir

You had listed "Firefox/Chrome/Brave/etc", so I assumed you had experienced it on two chromium based browsers.

The chrome://extensions equivalent on Firefox is about://addons. I don't use Firefox, so I'm not sure what to do from there. However, the process of inspecting the background page will be similar. If you see anything about "Inspecting the background page" on about://addons, then information contained in there after you experienced the error will be golden.

svn-dys avatar May 11 '25 03:05 svn-dys

Sorry I'm at a bit of a loss for finding an inspection that would help. Or, there's a chance I have found the right things and just nothing is showing up. Not sure.

Here's the 2 places I'm looking. In FF, hit F12 and watch the Console. Now, I do see a mention of twitch-clicker.js in there, but I've already posted what it says in the first post. So that's probably not helpful.

Second place I looked is by going to about:debugging, clicking on This Firefox, then on the Inspect button for the extension. That bring up another window that has a Console as well. However, that doesn't seem to be doing anything.

Now, I just had that console open and F5's the page and it looked like the Bonus was clicked on page load. Still see nothing interesting in either Console.

clickwir avatar May 11 '25 04:05 clickwir

So I let the Bonus sit there a while and nothing happens. However, if I refresh the page the Bonus shows up and then is auto clicked. Seems that it'll do it once, but not after that.

clickwir avatar May 11 '25 04:05 clickwir

Also have this issue; this is the console log that I get. I waited for the claim button to appear on screen. It remains unclicked. (On firefox in linux; specifically nixos stable)

Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted. [player-core-variant-b-d9caa4246910e9888b35.js:1:66410](https://assets.twitch.tv/assets/player-core-variant-b-d9caa4246910e9888b35.js)
Object { category: "PubsubClient", message: "flushing queued requests", package: "@twitch/chat-pubsub-client" }
[94291-d008abb431b9f1a3f45f.js:1:6150](https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js)
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. [player-core-variant-b-d9caa4246910e9888b35.js:1:31701](https://assets.twitch.tv/assets/player-core-variant-b-d9caa4246910e9888b35.js)
Feature Policy: Skipping unsupported feature name “encrypted-media”. [88480-501885f732245748fcee.js:1:40680](https://assets.twitch.tv/assets/88480-501885f732245748fcee.js)
Feature Policy: Skipping unsupported feature name “encrypted-media”. [88480-501885f732245748fcee.js:1:58788](https://assets.twitch.tv/assets/88480-501885f732245748fcee.js)
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://supervisor.ext-twitch.tv’) does not match the recipient window’s origin (‘https://www.twitch.tv’). [baalorlord](https://www.twitch.tv/baalorlord)
Feature Policy: Skipping unsupported feature name “encrypted-media”. [supervisor.js:1:1303](https://supervisor.ext-twitch.tv/supervisor/v1/supervisor.js)
Feature Policy: Skipping unsupported feature name “encrypted-media”. [supervisor.js:1:1411](https://supervisor.ext-twitch.tv/supervisor/v1/supervisor.js)
Feature Policy: Skipping unsupported feature name “encrypted-media”. [supervisor.js:1:1464](https://supervisor.ext-twitch.tv/supervisor/v1/supervisor.js)
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html for further details and to join the discussion on related tools and features! [baalorlord](https://www.twitch.tv/baalorlord)
Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. [video_overlay.html](https://ebkycs9lir8pbic2r0b7wa6bg6n7ua.ext-twitch.tv/ebkycs9lir8pbic2r0b7wa6bg6n7ua/0.0.1/6cd3898e18038b00188e9303abb9476b/video_overlay.html?anchor=video_overlay&language=en&locale=en-US&mode=viewer&state=released&platform=web)
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' https://ebkycs9lir8pbic2r0b7wa6bg6n7ua.ext-twitch.tv/ https://extension-files.twitch.tv/ https://*.google-analytics.com https://www.googletagmanager.com/” [content.js:107:28](moz-extension://093c3031-6434-4440-946b-fb0795bf07c6/scripts/content.js)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/environments/zIy65lh0OA/config. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/environments/zIy65lh0OA/config. (Reason: CORS request did not succeed). Status code: (null).

[GraphQL] One or more GraphQL errors were detected on request 01JVDBQZYAJ42TEFX65C0T9BAB. ChannelPointsAutomaticRewards: forbidden 
Array [ {…} ]
[90618-95707281ec229eb8892a.js:1:421467](https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js)
    tr https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    (Async: setTimeout handler)
    tr https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    c https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    c https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    i https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    (Async: promise callback)
    s https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    i https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    (Async: promise callback)
    s https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    h https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    h https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    collectQueryStats https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    tr https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    c https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    c https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    h https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    h https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    tr https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    (Async: promise callback)
    tr https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    c https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    c https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    h https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    h https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    apolloLinkFetch https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    g https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    e https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    subscribe https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    consumeQueue https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    scheduleQueueConsumption https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    (Async: setTimeout handler)
    scheduleQueueConsumption https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    observable https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    e https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    subscribe https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    _ https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    e https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    subscribe https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    Jt https://assets.twitch.tv/assets/90618-95707281ec229eb8892a.js:1
    e https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    subscribe https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    p https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    (Async: promise callback)
    p https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    e https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    subscribe https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    complete https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    start https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    t https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    getObservableFromLink https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
    getResultsFromLink https://assets.twitch.tv/assets/94291-d008abb431b9f1a3f45f.js:1
Detected inside of a channel page. [twitch-clicker.js:78:11](moz-extension://936f0409-ce82-4fff-8bab-918503e0621f/twitch-clicker.js)
Element detected. [twitch-clicker.js:5:10](moz-extension://936f0409-ce82-4fff-8bab-918503e0621f/twitch-clicker.js)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/environments/zIy65lh0OA/config. (Reason: CORS request did not succeed). Status code: (null).

Twitch Points Autoclicker: Initialized! [twitch-clicker.js:96:11](moz-extension://936f0409-ce82-4fff-8bab-918503e0621f/twitch-clicker.js)
Detected inside of a channel page. [twitch-clicker.js:78:11](moz-extension://936f0409-ce82-4fff-8bab-918503e0621f/twitch-clicker.js)
Element detected. [twitch-clicker.js:5:10](moz-extension://936f0409-ce82-4fff-8bab-918503e0621f/twitch-clicker.js)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/environments/zIy65lh0OA/config. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/environments/zIy65lh0OA/config. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/environments/zIy65lh0OA/config. (Reason: CORS request did not succeed). Status code: (null).

UserLeap - Disabled: failed to fetch configuration [vendor.sprig-controller.min.js-bd08d1838b03adbc4893.js:1:27121](https://assets.twitch.tv/assets/vendor.sprig-controller.min.js-bd08d1838b03adbc4893.js)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sprig.com/sdk/1/errors. (Reason: CORS request did not succeed). Status code: (null).

UserLeap - Disabled: failed to fetch configuration [vendor.sprig-controller.min.js-bd08d1838b03adbc4893.js:1:27121](https://assets.twitch.tv/assets/vendor.sprig-controller.min.js-bd08d1838b03adbc4893.js)
[Sprig] (ERR-444) Failed to report error to API TypeError: NetworkError when attempting to fetch resource. [vendor.sprig-controller.min.js-bd08d1838b03adbc4893.js:1:171902](https://assets.twitch.tv/assets/vendor.sprig-controller.min.js-bd08d1838b03adbc4893.js)
UserLeap - Disabled: failed to fetch configuration

bbaserdem avatar May 16 '25 20:05 bbaserdem

I've noticed that mine sometimes works. Haven't figured out a pattern of why sometimes it does work for several cycles but then not work for a while.

clickwir avatar May 17 '25 04:05 clickwir

For me it also doesn´t work anymore. Can we expect that this will be fixed or is this addon dead?

heusmich avatar May 17 '25 19:05 heusmich

Thank you for your reports! I will investigate Sunday/Monday!

xinitrc-dev avatar May 17 '25 20:05 xinitrc-dev

Had a chance to finally take a look!

  ReferenceError: msg is not defined twitch-clicker.js:26:13

@clickwir While this is a bug, thank you for reporting, it only affects the "Clicked" counter and won't impact the rest of the script of actual autoclicker!

@bbaserdem No explicit errors are displayed in your log but i do see that clicking the element never occurs. In the future, please, filter your console output by extension! You can do so by typing twitch-clicker in the filter like so:

Image

I understand that the bigger problem here is inconsistency or failure to click the bonus chest over time, so i'll be trying to mess around and debug in the next few days. Any suggestions or insights are very welcome! And the original bug will also be fixed once this is solved.

Need to also consider migrating to manifest V3 since google is being a pain in the butt about it \o/ but that can happen after all of this.

xinitrc-dev avatar May 19 '25 18:05 xinitrc-dev

Had the clicker working for a while tonight, seemed to be doing fine. Then stopped, don't know why. I saw the bonus show up, waited a few mins and nothing happened. Looked at the Console and it showed this:

Detected inside of a channel page. twitch-clicker.js:78:11

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Initialized! twitch-clicker.js:96:11

Detected inside of a channel page. twitch-clicker.js:78:11

Element detected. twitch-clicker.js:5:10

Detected inside of a channel page. twitch-clicker.js:78:11

Element detected. 2 twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Element detected. twitch-clicker.js:5:10

Twitch Points Autoclicker: Clicked! twitch-clicker.js:14:12

ReferenceError: msg is not defined twitch-clicker.js:26:13

Detected inside of a channel page. twitch-clicker.js:78:11

Element detected. twitch-clicker.js:5:10

So I clicked it myself. A little while longer, bonus shows up again and doesn't get auto clicked. However, nothing in the console changed. It doesn't seem to have re-detected it even though I see it.

clickwir avatar May 20 '25 05:05 clickwir

@clickwir do you use the 7TV extension?

svn-dys avatar May 20 '25 21:05 svn-dys

I'm aware of what that is, but no I've never used it.

clickwir avatar May 21 '25 02:05 clickwir

Is it only for me or does it work again for everybody? The last days I didn´t have a problem with this mod, got the channel points correctly...

heusmich avatar May 31 '25 21:05 heusmich

It works sometimes, it doesn't work sometimes for me.

bbaserdem avatar Jun 02 '25 15:06 bbaserdem