github.com cant download Code Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
amymor
Apollo supporter
Apollo supporter
Posts: 46
Joined: 2019-09-02, 14:19

github.com cant download Code

Unread post by amymor » 2021-09-29, 12:16

hi
i cant download source codes in github. when i click at Code it doesnt generate download link and just stucks at loading:
2021-09-29 15.38.56.png
link:
https://github.com/DaddyMadu/Windows10GamingFocus
tried with a fresh portable pale moon(29.4.1) too. same problem.
can you confirm it?

User avatar
jars_
Lunatic
Lunatic
Posts: 397
Joined: 2016-12-27, 00:12

Re: github.com cant download Code

Unread post by jars_ » 2021-09-29, 12:51

I can ...
Image
uBlock is the reason. :geek:

User avatar
amymor
Apollo supporter
Apollo supporter
Posts: 46
Joined: 2019-09-02, 14:19

Re: github.com cant download Code

Unread post by amymor » 2021-09-29, 13:43

jars_ wrote:
2021-09-29, 12:51
I can ...
Image
uBlock is the reason. :geek:
thank you for your reply but as i said i tried with a portable pale moon without any extensions too. after your reply i thought it's maybe a connection problem so tired with VPN but same result occurred again. then i tested with ungoogled chromium and this time the link generation works even without VPN. do you use any useragent override for github or something etc?

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: github.com cant download Code

Unread post by coffeebreak » 2021-09-29, 13:46

amymor wrote:
2021-09-29, 12:16
cant download source codes in github
Try installing the browser extension GitHub/GitLab Web Components Polyfill for a workaround to the problem
(if you already have it installed, update it).

Then refresh the page and try again.

(I see the same issue when the extension is disabled.)

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2183
Joined: 2018-05-05, 13:29

Re: github.com cant download Code

Unread post by vannilla » 2021-09-29, 14:03

Or use git like it was supposed to be used:

Code: Select all

git clone <repo url>

User avatar
amymor
Apollo supporter
Apollo supporter
Posts: 46
Joined: 2019-09-02, 14:19

Re: github.com cant download Code

Unread post by amymor » 2021-09-29, 14:20

coffeebreak wrote:
2021-09-29, 13:46
amymor wrote:
2021-09-29, 12:16
cant download source codes in github
Try installing the browser extension GitHub/GitLab Web Components Polyfill for a workaround to the problem
(if you already have it installed, update it).

Then refresh the page and try again.

(I see the same issue when the extension is disabled.)
thanks, it worked. but still looking for a non-addons solution. maybe the devs need to fix something in the next update.

here is my browser console (may useful for devs):

Code: Select all

Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.  
(unknown)
Content Security Policy: Directive ‘child-src’ has been deprecated. Please use directive ‘worker-src’ to control workers, or directive ‘frame-src’ to control frames respectively.  
(unknown)
TypeError: window.customElements is undefined[Learn More] 
chunk-vendor-587189db.js:148:15067
error console:

Code: Select all

Warning: Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.

Warning: Content Security Policy: Directive ‘child-src’ has been deprecated. Please use directive ‘worker-src’ to control workers, or directive ‘frame-src’ to control frames respectively.

Error: TypeError: window.customElements is undefined
Source File: https://github.githubassets.com/assets/chunk-vendor-587189db.js
Line: 148

Error: TypeError: window.customElements is undefined
Source File: https://github.githubassets.com/assets/chunk-vendor-587189db.js
Line: 148

Error: TypeError: window.customElements is undefined
Source File: https://github.githubassets.com/assets/chunk-vendor-587189db.js
Line: 148

Error: TypeError: window.customElements is undefined
Source File: https://github.githubassets.com/assets/chunk-vendor-587189db.js
Line: 148

Error: TypeError: window.customElements is undefined
Source File: https://github.githubassets.com/assets/chunk-vendor-587189db.js
Line: 148

User avatar
Nuck-TH
Project Contributor
Project Contributor
Posts: 197
Joined: 2020-03-02, 16:04

Re: github.com cant download Code

Unread post by Nuck-TH » 2021-09-29, 15:35

Unless you will help implementing WebComponents into UXP(which you won't), polyfill extension or Chrome are your only solutions.
...Or talking Microsoft into not using WebComponents :lol:

User avatar
jars_
Lunatic
Lunatic
Posts: 397
Joined: 2016-12-27, 00:12

Re: github.com cant download Code

Unread post by jars_ » 2021-09-29, 16:29

Sorry, i forget that i have installed GitLab Web Components Polyfill extension.

Locked