05/26 - Where's the Thread Monday!

Discussion in 'Daily mTurk HITs Threads' started by turker, May 26, 2025.

Thread Status:
Not open for further replies.
  1. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    Unless the interface in use is returning the hits, my guess is that it is indeed submitting as you would eventually fill your Q up otherwise.
     
  2. Jane Doe

    Jane Doe Survey Slinger

    Messages:
    2,736
    Ratings:
    +3,160
    Good to know it's not entirely down. I just hope they realize it's not working.
     
    • LOL LOL x 1
  3. WildFlower

    WildFlower Survey Slinger FF Champion II

    Messages:
    4,306
    Gender:
    Female
    Ratings:
    +5,007
    Not sure it's working with anything. I logged in on my phone which has no scripts hoping to just submit the survey I had completed and it looks the same with no scripts, the header and nothing beneath that. I tried in both Chrome and Firefox.

    I sent an email thru the Service Health Dashboard, hopefully others will as well. Not expecting much given it's Memorial Day, but if there are enough reports and it's an easy fix, maybe it'll happen sometime today.
     
    • Like Like x 3
  4. Jane Doe

    Jane Doe Survey Slinger

    Messages:
    2,736
    Ratings:
    +3,160
    • Like Like x 2
  5. Tripsa

    Tripsa Mod????

    Messages:
    12,076
    Gender:
    Male
    Ratings:
    +31,298
    Total: 950 (members: 28, guests: 885, robots: 37)

    [​IMG]
     
    • LOL LOL x 2
    • Today I Learned Today I Learned x 1
  6. Sigil 1

    Sigil 1 Active Turker

    Messages:
    359
    Ratings:
    +312
    That wasn't as much work as the other one. It's mostly percentile guessing and that it's.
     
  7. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    seem to have figured out the problem. they removed the copy text function from the worker id on the frame, but the loader is looking for it and crashing. I was able to get together a script that is somewhat clunky but it does fix the hits section and allows to submit as the hit timer loads normally since it is crashing looking for the copy text function.



    Code:
    // ==UserScript==
    // @name         MTurk Patch Missing CopyText Component
    // @namespace    http://tampermonkey.net/
    // @version      2.0
    // @description  Prevent MTurk from crashing due to missing CopyText module
    // @match        https://worker.mturk.com/*
    // @grant        none
    // ==/UserScript==
    
    (function () {
        'use strict';
    
        function waitForRequire() {
            if (typeof require !== 'function') {
                requestAnimationFrame(waitForRequire);
                return;
            }
    
            const originalRequire = require;
    
            require = function (deps, callback, errback) {
                // Support both single module and array
                if (typeof deps === 'string') deps = [deps];
    
                const patchedDeps = deps.map(dep => {
                    if (dep === 'reactComponents/common/CopyText') {
                        console.warn('[Tampermonkey] Patching missing module:', dep);
    
                        // Register dummy module under expected name
                        define(dep, [], function () {
                            return function DummyCopyText() {
                                console.warn('DummyCopyText used');
                                return null;
                            };
                        });
    
                        return dep;
                    }
    
                    return dep;
                });
    
                return originalRequire(patchedDeps, callback, errback);
            };
    
            console.log('[Tampermonkey] CopyText patch loaded (require override)');
        }
    
        waitForRequire();
    })();
     
    • Like Like x 2
  8. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    Code:
    // ==UserScript==
    // @name         MTurk Patch Missing CopyText via define()
    // @namespace    http://tampermonkey.net/
    // @version      4.1
    // @description  Prevent MTurk crashes from missing CopyText module
    // @match        https://worker.mturk.com/*
    // @grant        none
    // ==/UserScript==
    
    (function () {
        'use strict';
    
        // Only run in the top-level window (not iframes)
        if (window.top !== window.self) return;
    
        const MODULE_NAME = 'reactComponents/common/CopyText';
        const dummyComponent = function DummyCopyText() {
            console.warn('⚠️ Dummy CopyText component used');
            return null;
        };
    
        let originalDefine;
    
        function patchDefineOnceReady() {
            if (typeof window.define !== 'function') return false;
    
            if (window.define._patchedByTampermonkey) return true;
    
            originalDefine = window.define;
    
            window.define = function (name, deps, factory) {
                if (typeof name !== 'string') {
                    // Anonymous define – skip patching
                    return originalDefine.apply(this, arguments);
                }
    
                // Intercept and log CopyText load
                if (name === MODULE_NAME) {
                    console.log('[Tampermonkey] Defining or overriding:', MODULE_NAME);
                }
    
                return originalDefine.call(this, name, deps, factory);
            };
    
            // Inject dummy CopyText component in case it’s missing
            try {
                originalDefine(MODULE_NAME, [], function () {
                    return dummyComponent;
                });
            } catch (e) {
                console.warn('[Tampermonkey] Couldn’t define dummy CopyText:', e);
            }
    
            window.define._patchedByTampermonkey = true;
            console.log('[Tampermonkey] define() successfully patched');
    
            return true;
        }
    
        // Try patching early, retrying until define() is ready
        const maxTries = 50;
        let tries = 0;
        const interval = setInterval(() => {
            if (patchDefineOnceReady()) {
                clearInterval(interval);
            }
            if (++tries >= maxTries) {
                clearInterval(interval);
                console.warn('[Tampermonkey] Gave up trying to patch define()');
            }
        }, 100);
    })();
     
    • Like Like x 2
    • WOW WOW x 1
  9. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    last one does fix it on the dashboard page but in my case i have to reload sometimes to get things to show properly. at least is workable.
     
  10. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    @Jane Doe @Tripsa just in case you guys know more, and can ad something, otherwise in case you guys are waiting on a fix.
     
  11. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    @BedLobster22 so basically your ui what it does is that it skips that part when loading the hit so it loads as usual and it doesn't crash.
     
  12. Jane Doe

    Jane Doe Survey Slinger

    Messages:
    2,736
    Ratings:
    +3,160
    Mine's back up!

    Edit: It was. Good sign.
     
    • Like Like x 1
    • Yikes Yikes x 1
    • WOW WOW x 1
  13. Piro

    Piro Active Turker

    Messages:
    103
    Gender:
    Male
    Ratings:
    +187
    Kind of shocking :emoji_grin:I'd written it off getting fixed today due to the US holiday.
     
    • Like Like x 1
    • Nom Nom Nom! Nom Nom Nom! x 1
  14. Jane Doe

    Jane Doe Survey Slinger

    Messages:
    2,736
    Ratings:
    +3,160
    They seem to be working on it. It's up and down for me, but I'm optimistic.
     
    • 5/5 Pay 5/5 Pay x 1
    • Today I Learned Today I Learned x 1
  15. Yax Jasbon

    Yax Jasbon Active Turker

    Messages:
    454
    Ratings:
    +691
    i guess ill never know if the script run or if the thing was fixed when I wrote it, but hey as long as I can actually get some work done today.
     
    • Like Like x 1
  16. Piro

    Piro Active Turker

    Messages:
    103
    Gender:
    Male
    Ratings:
    +187
    Mine actually just came back(still working as of this post) :emoji_monkey:

    -edit-going in and out depending on the page but majority working
     
    • Like Like x 4
  17. Pandorum

    Pandorum New Turker

    Messages:
    10
    Ratings:
    +8
    coming back slowly, with some glitches here and there
     
  18. jim718181

    jim718181 Survey Slinger

    Messages:
    2,862
    Gender:
    Male
    Ratings:
    +4,145
    Relax bro, recursion is going to get you all the chicks.
     
    • LOL LOL x 2
  19. thedorchannel

    thedorchannel Survey Slinger

    Messages:
    2,015
    Gender:
    Male
    Ratings:
    +4,099
    the Noah Turks are legit broken right? like... not part of the site screwing up?
     
    • Like Like x 1
  20. MrGuy88

    MrGuy88 Active Turker

    Messages:
    101
    Gender:
    Male
    Ratings:
    +104
    What is going on?
     
Thread Status:
Not open for further replies.