Browser - Github not rendering codetree and readme anymore

REPRODUCIBILITY: 100% (always)
OSVERSION: 4.5.0.24
HARDWARE: Sony Xperia 10 III - xqbt52 - xqbt52 - 1.0.1.23 - aarch64
UI LANGUAGE: Deutsch (user: de_DE, os: de_DE.utf8)
REGRESSION: no

DESCRIPTION:

Hithub not rendering correctly anymore since today with the stock browser

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Go to e.g. GitHub - sailfishos/grep

EXPECTED RESULTS:

Rendering the code tree and the readme

Fennec:

ACTUAL RESULTS:

Empty

Sfos Browser

MODIFICATIONS:

  • Patchmanager: yes
  • OpenRepos: yes
  • Chum: yes
  • Other: none specified

ADDITIONAL INFORMATION:

Device Owner User: defaultuser
Home Encryption: enabled

the initial version of this bug report was created using Bugger 0.9.10+git2
6 Likes

Confirmed!

Itā€™s super annoying.

First they broke progress bar, the back button and browser history (also on desktop mozilla) and now this.

I got this in the browser console:

[JavaScript Error: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://github.githubassets.com/assets/optimizely-f41bb566674d.js. (Reason: CORS header ā€˜Access-Control-Allow-Or
iginā€™ missing)."]
CONSOLE message:
[JavaScript Warning: "<script> source URI is not allowed in this document: ā€œhttps://github.githubassets.com/asset
s/optimizely-f41bb566674d.jsā€." {file: "https://github.com/nephros/harbour-amazfish" line: 77}]
CONSOLE message:
[JavaScript Error: "SyntaxError: expected expression, got '='" {file: "https://github.githubassets.com/assets/ven
dors-node_modules_primer_react_lib-esm_ConfirmationDialog_ConfirmationDialog_js-1396cd0754d9.js" line: 1 column:
4246 source: "ion C(e,t){let{content:n,...i}=t;return new Promise(t=>{(x||=document.createElement("div")).isConne
cted||document.body.a"}]

Note though that I mangle a lot through Privoxy so that may be a side effect on my system only.

Iā€™m seeing this too. As always with broken pages the question is if they did something silly, or the browser is just too old for something theyā€™d reasonably expect to use. I wouldnā€™t really call either of those issues a (separate) bug though.

4 Likes

Does the engine support custom HTML Elements?

I can see a <turbo-frame> tag around approximately the area thatā€™s missing, which is a custom element from Rails? React framework? or so.

Rant warning, feel free to ignore.

Github is getting progressively worse since the Microsoft takeover: constant nagging, previously accesible features turning ā€œproā€, pointless ā€œimprovementsā€ and, yes, their website getting fancier and fancier to the point itā€™ll probably only work on Edge (or, Chromium-based browsers) at some point.

Iā€™m actually surprised a command line git clone still works most of the time.

4 Likes

Web components Web Components - Web APIs | MDN

There are a couple of features requiring Firefix 9x+ or even 10x+ā€¦

Is there something like teddit or invidious for GH?

Btw:

Perhaps GitHub - black-sheep-dev/harbour-sailhub: SailHub is an inoffical native GitHub app for Sailfish OS

The table makes it pretty clearā€¦ So upgrading is the only solution.

you can use gitea to mirror github repos iirc. But not surf it.

I can reproduce (or at least produce a similar issue) in a desktop Mozilla browser by browsing to github and disabling all javascript (through uBlockOrigin).

Like invidious, meaning a lighter web frontend? No. One should seriously consider simply using a different public git server. Alternatives abound. Many gitlab instances* for example. Or Gitea, gogs, etc. - git itself also features a web server/UI.

Afa github.com is concerned:

For Linux, two official command line tools exist:
cli
hub

And at least one graphical forntend:
desktop

* not all of those are public, meaning that you can open an account and start uploading your own projects

Ah, Iā€™ve been silently cursing this for ages. BUT, the fact is, on my IPv6 only virtuals, github canā€™t be reliably (if at all) contacted, so Iā€™m not so surprised they canā€™t create web pages. Canā€™t do dual stack ip while offering 50 % faster coding. Ah, ha.

BTW: Flypig's gecko dev diary - #164 by nephros

You can install Angelfish web browser via Chum GUI.

As for README.md files, you can open them in Markdown Viewer:
https://codebeautify.org/markdown-viewer?url=https://raw.githubusercontent.com/USER/REPO/main/README.md (replace USER/REPO)

Hmmm seems to work again now.

Ah, cool. norvig/paip-lisp on the phone!

Nice! Must have been fixed today or late yesterday.

It worked for me on some repos but not for others. I think we just learned something about how github does rollouts :wink:

Sounds like classic a/b testing to me.