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:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
OPNA2608
- Hobby Astronomer

- Posts: 24
- Joined: 2019-09-27, 09:30
Unread post
by OPNA2608 » 2020-07-23, 06:15
PM28.11.0, Ubuntu 18.04 & NixOS.
GitHub recently updated their UI, since then switching between "tabs" on PRs gets the page stuck in a loading screen. Popping open the console shows it's a problem regarding the use of Shadow DOM?
Code: Select all
ReferenceError: ShadowRoot is not defined
You can work around it by hitting reload, but it's still bothersome ofc.
-
Moonchild
- Pale Moon guru

- Posts: 37534
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Unread post
by Moonchild » 2020-07-23, 07:06
Yup
Code: Select all
09:01:46.776 ReferenceError: ShadowRoot is not defined 1 vendor-c0375c83.js:120:56177
get field https://github.githubassets.com/assets/vendor-c0375c83.js:120:56177
disconnectedCallback https://github.githubassets.com/assets/vendor-c0375c83.js:120:55928
a.prototype.disconnectedCallback https://github.githubassets.com/assets/compat-bootstrap-6e7ff7ac.js:1:3554
set https://github.githubassets.com/assets/compat-bootstrap-6e7ff7ac.js:1:11641
vt https://github.githubassets.com/assets/frameworks-0e2d57cb.js:1:22707
execute/< https://github.githubassets.com/assets/frameworks-0e2d57cb.js:1:24113
execute/< https://github.githubassets.com/assets/github-bootstrap-db5bed9d.js:16:225263
K https://github.githubassets.com/assets/vendor-c0375c83.js:120:5038
rt https://github.githubassets.com/assets/frameworks-0e2d57cb.js:1:18432
T https://github.githubassets.com/assets/frameworks-0e2d57cb.js:1:3050
execute/< https://github.githubassets.com/assets/github-bootstrap-db5bed9d.js:1:60546
K https://github.githubassets.com/assets/vendor-c0375c83.js:120:5038
Nothing we can do about that at the moment because Google WebComponents is still a work in progress in development, and if GitHub insists on redefining the way they use the web every 2 weeks based on the lastest Chromium shinies then there's really nothing we can do. You may try to contact github support about it but since they stopped responding to my requests or having a normal dialogue with me when I give them feedback, I'm not sure if they will still listen or if it's a "use Edge because we're Microsoft now" matter.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
adesh
- Board Warrior

- Posts: 1273
- Joined: 2017-06-06, 07:38
Unread post
by adesh » 2020-07-23, 09:16
Works fine here. I do not get the error and I'm not logged in.
-
New Tobin Paradigm
Unread post
by New Tobin Paradigm » 2020-07-26, 01:56
adesh wrote: ↑2020-07-23, 09:16
Works fine here. I do not get the error and I'm not logged in.
You won't get it unless you are logged in.. Don't ask why.. I dunno except Googlesoft.
HOWEVER
I have created a userscript that MAY help with some of the ajax loading issues when navigating around github. Well, what it does is bypasses ajax loading and thus as a side effect, the ShadowRoot call during ajax loading.
It is only a temporary workaround and may not work in the future but least
for today.. it does. Check out:
https://greasyfork.org/en/scripts/407745-bypass-github-ajax/code.
-
Moonchild
- Pale Moon guru

- Posts: 37534
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Unread post
by Moonchild » 2020-07-27, 12:06
As an aside, GitHub has been notified of this and of the cause of this particular trouble -- let's hope this time they don't take 2 months to respond to my ticket.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
Tharthan
- Board Warrior

- Posts: 1427
- Joined: 2019-05-20, 20:07
- Location: New England
Unread post
by Tharthan » 2020-07-28, 03:11
Moonchild, rest assured that they would probably tell you that
'Your business is very important to us, and someone will be on the line to speak with you shortly. Thank you for choosing GitHub".

"This is a war against individuality and intelligence. Only thing we can do is stand strong." —
adesh, 9 January 2020
"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan." —
Cassette, 9 September 2020
-
JustOff
Unread post
by JustOff » 2020-08-01, 09:53
As an alternative to the userscript above, you can use the following rule for uBlock Origin:
Code: Select all
github.com##+js(remove-attr.js, data-pjax)
In this case, you will also need to use the
Scriptlet Doctor to bypass GitHub's strict content security policy.
-
Moonchild
- Pale Moon guru

- Posts: 37534
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Unread post
by Moonchild » 2020-08-02, 21:58
Moderation notice: removed a series of really unnecessary posts from everyone involved (including myself).
For clarification, JustOff's alternative is a copy of Tobin's solution, but then converted to another method of page manipulation for those who for some reason or another would prefer to use uBO for this purpose instead of a dedicated script engine, and are comfortable with breaking CSP in the browser for it and increasing the risk of XSS as the Scriptlet Doctor extension's homepage warns (please know what you install).
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite