Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code.world: breakage #24936

Closed
10 of 11 tasks
josephcsible opened this issue Aug 17, 2024 · 1 comment
Closed
10 of 11 tasks

code.world: breakage #24936

josephcsible opened this issue Aug 17, 2024 · 1 comment

Comments

@josephcsible
Copy link

Prerequisites

  • This is NOT a YouTube, Facebook, Twitch or a shortener/hosting site report. These sites MUST be reported by clicking their respective links.
  • I read and understand the policy about what is a valid filter issue.
  • I verified that this issue is not a duplicate. (Search here to find out.)
  • I did not remove any of the default filter lists, or I have verified that the issue was not caused by removing any of the default lists.
  • I did not enable additional filter lists, or I have verified that the issue still occurs without enabling additional filter lists.
  • I do not have custom filters/rules, or I have verified that the issue still occurs without custom filters/rules.
  • I am not using uBlock Origin along with other content blockers.
  • I have verified that the web browser's built-in content blocker/tracking protection, network wide/DNS blocking, or my VPN is not causing the issue.
  • I have verified that other extensions are not causing the issue.
  • If this is about a breakage or detection, I have verified that it is caused by uBlock Origin and isn't a site issue.
  • I did not answer truthfully to ALL the above checkboxes.

URL(s) where the issue occurs.

https://code.world/

Description

The site will fail to finish loading. The problem comes from this filter:

||wurfl.io/wurfl.js$script,3p

Which means WURFL never gets defined. Then https://code.world/js/codeworld.js (in strict mode) does this:

  window.codeworldEditor = CodeMirror.fromTextArea(editor, {
    /* ... */
    styleActiveLine: !WURFL || !WURFL.is_mobile,

Which results in Uncaught (in promise) ReferenceError: WURFL is not defined, and then nothing will work from there on: the code editor won't load (leaving just a tiny textarea), and the Run button will log Uncaught TypeError: window.codeworldEditor is undefined and not work.

Other extensions used

None.

Screenshot(s)

Screenshot(s)

Configuration

Details
uBlock Origin: 1.59.0
Firefox: 129
filterset (summary):
 network: 153525
 cosmetic: 47834
 scriptlet: 20651
 html: 1919
listset (total-discarded, last-updated):
 default:
  user-filters: 0-0, never
  ublock-filters: 39831-125, 2m
  ublock-badware: 10363-6, 2m
  ublock-privacy: 1063-4, 2m
  ublock-unbreak: 2555-1, 2m
  ublock-quick-fixes: 146-4, 2m
  easylist: 85182-180, 2m
  easyprivacy: 52958-65, 2m
  urlhaus-1: 29815-0, 2m
  plowe-0: 3547-993, 2m
filterset (user): [empty]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 1722 ms
 maxAssetCacheWait: 55 ms
 cacheBackend: indexedDB
popupPanel:
 blocked: 2
 network:
  wurfl.io: 2
@josephcsible
Copy link
Author

I also opened google/codeworld#1644 to fix this on their end, but since that project hasn't had any commits in 18 months, I don't expect it to get merged any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant