soscripted / sox

Stack Overflow Extras: a userscript for the Stack Exchange websites to add a bunch of optional toggle-able features
http://stackapps.com/q/6091/
MIT License
72 stars 15 forks source link

SOX 2.8.13 DEV: settings (gear) button missing and features inoperative #512

Closed AmperAndSand closed 3 weeks ago

AmperAndSand commented 4 weeks ago

Describe the bug Stack Overflow Extras (SOX) user script ceased functioning on 2024-10-17 around 1 PM UTC.

To Reproduce Steps to reproduce the behaviour:

  1. Visit any SE site, with either Firefox or Brave, and Tampermonkey
  2. Observe that the gear (settings) button is absent
  3. Verify that none of SOX's functionality is operational

SOX errors logged in console On https://gaming.stackexchange.com/, the following errors were logged in the console of an incognito Brave window with only Tampermonkey enabled and SOX as the sole active script:

jquery-migrate-3.4.1.min.js:2 JQMIGRATE: Migrate is installed, version 3.4.1
otBannerSdk.js:1 

       Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:248 @require: couldn't load @require from URL 'sox.common.js': internal error
(anonymous) @ userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:248
userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:250 @require: couldn't load @require from URL 'sox.github.js': internal error
(anonymous) @ userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:250
userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:252 @require: couldn't load @require from URL 'sox.dialog.js': internal error
(anonymous) @ userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:252
userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:254 @require: couldn't load @require from URL 'sox.features.js': internal error
(anonymous) @ userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:254
userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:486 Uncaught (in promise) TypeError: sox.ready is not a function
    at userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:486:7
    at Proxy.<anonymous> (userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:487:3)
    at Pt (<anonymous>:10:89)
    at userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:1:88
    at window.__f__m2e940tm.ajd (userscript.html?name=Stack-Overflow-Extras-SOX.user.js&id=b5a967da-045e-4979-b5cf-73a2cc253f53:1:458)
    at Pt (<anonymous>:10:89)
    at r.setMessageListener.r (<anonymous>:86:186)
    at <anonymous>:89:107
    at _ (<anonymous>:22:406)
jquery.min.js:2 [Violation] 'load' handler took 592ms
[Violation] Forced reflow while executing JavaScript took 591ms

Expected behaviour SOX should function normally, with the gear (settings) button visible in the topbar at minimum.

Environment

Note: The auto-populate version functionality did not appear to work.

shu8 commented 3 weeks ago

Thanks for filing this bug report! I was able to reproduce this in Firefox, but not Chrome/Edge. It seems like possibly the behaviour of fetching the userscript resources at install time has now changed.

I pushed a change in dev v2.8.14 -- please could you try installing this to see if it fixes your issue?

AmperAndSand commented 3 weeks ago

Thanks for filing this bug report! I was able to reproduce this in Firefox, but not Chrome/Edge. It seems like possibly the behaviour of fetching the userscript resources at install time has now changed.

I pushed a change in dev v2.8.14 -- please could you try installing this to see if it fixes your issue?

Yes, this fixes the issue for me on Firefox. Thanks for the fix!