github.com unable to search 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
MoonDunes
Newbie
Newbie
Posts: 3
Joined: 2024-03-10, 10:34

github.com unable to search

Unread post by MoonDunes » 2024-03-10, 11:00

I was attempting to search for projects on github, but for some reason the search does not work at all for me...

Steps to reproduce:
  1. Go to https://github.com/
  2. Click on the search bar
  3. Nothing happens...
Here is what I get in the dev console when I refresh github.com (clicking search does not add anything):

Code: Select all

Specified “type” attribute of “video/mp4; codecs=hevc,mp4a.40.2” is not supported. Load of media resource https://github.githubassets.com/assets/globe-900.hevc-58019d77b21c.mp4 failed.  
github.com
Specified “type” attribute of “video/mp4; codecs=hevc,mp4a.40.2” is not supported. Load of media resource https://github.githubassets.com/assets/globe-500.hevc-42032a395ff1.mp4 failed.  
github.com
ReferenceError: PerformanceObserver is not defined[Learn More]  
behaviors-b74cf7d465fa.js:11:5702
	[19370] https://github.githubassets.com/assets/behaviors-b74cf7d465fa.js:11:5702
	s https://github.githubassets.com/assets/wp-runtime-3bb5290d037c.js:1:141
	t https://github.githubassets.com/assets/behaviors-b74cf7d465fa.js:34:5366
	<anonymous> https://github.githubassets.com/assets/behaviors-b74cf7d465fa.js:34:6973
	s.O https://github.githubassets.com/assets/wp-runtime-3bb5290d037c.js:1:501
	<anonymous> https://github.githubassets.com/assets/behaviors-b74cf7d465fa.js:34:6985
	_ https://github.githubassets.com/assets/wp-runtime-3bb5290d037c.js:1:37728
	_ self-hosted:1119:17
	<anonymous> https://github.githubassets.com/assets/behaviors-b74cf7d465fa.js:1:55
THREE.WebGLProgram: gl.getProgramInfoLog() C:\fakepath(60,28-138): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
C:\fakepath(61,28-119): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them  
vendors-node_modules_github_webgl-globe_dist_js_main_js-cf5f119d1214.js:1:272687
And here is what I get in the error console after refreshing (clicking search does not add anything):

Code: Select all

Timestamp: 10.03.2024 12:56:10
Warning: Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.
Timestamp: 10.03.2024 12:56:10
Warning: Specified “type” attribute of “video/mp4; codecs=hevc,mp4a.40.2” is not supported. Load of media resource https://github.githubassets.com/assets/globe-900.hevc-58019d77b21c.mp4 failed.
Source File: https://github.com/
Line: 0
Timestamp: 10.03.2024 12:56:10
Warning: Specified “type” attribute of “video/mp4; codecs=hevc,mp4a.40.2” is not supported. Load of media resource https://github.githubassets.com/assets/globe-500.hevc-42032a395ff1.mp4 failed.
Source File: https://github.com/
Line: 0
Timestamp: 10.03.2024 12:56:11
Warning: downloadable font: no supported format found (font-family: "Mona Sans" style:normal weight:normal stretch:normal src index:2) source: (end of source list)
Source File: https://github.githubassets.com/assets/site-dfc0853a912d.css
Line: 6, Column: 49828
Source Code:
@font-face {   font-family: "Mona Sans";   src: url("/assets/mona-sans-d1bf285e9b9b.woff2") format("woff2 supports variations"), url("/assets/mona-sans-d1bf285e9b9b.woff2") format("woff2-variations"); }
Timestamp: 10.03.2024 12:56:11
Error: ReferenceError: PerformanceObserver is not defined
Source File: https://github.githubassets.com/assets/behaviors-b74cf7d465fa.js
Line: 11
ScrollbarSearchMarker: re-highlighting later (domContentLoaded)
ScrollbarSearchMarker: rehighlight called

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 582
Joined: 2017-01-14, 02:40
Location: Philippines

Re: github.com unable to search

Unread post by FranklinDM » 2024-03-10, 12:35

Toggle the following option: Preferences > Privacy > Tracking (tab) > Enable Performance Observers.

User avatar
MoonDunes
Newbie
Newbie
Posts: 3
Joined: 2024-03-10, 10:34

Re: github.com unable to search

Unread post by MoonDunes » 2024-03-10, 17:20

Still nothing...

Web console now shows this:

Code: Select all

Specified “type” attribute of “video/mp4; codecs=hevc,mp4a.40.2” is not supported. Load of media resource https://github.githubassets.com/assets/globe-900.hevc-58019d77b21c.mp4 failed.  
github.com
Specified “type” attribute of “video/mp4; codecs=hevc,mp4a.40.2” is not supported. Load of media resource https://github.githubassets.com/assets/globe-500.hevc-42032a395ff1.mp4 failed.  
github.com
Ignoring unsupported entryTypes: event.  
behaviors-b74cf7d465fa.js:33:68480
THREE.WebGLProgram: gl.getProgramInfoLog() C:\fakepath(60,28-138): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
C:\fakepath(61,28-119): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them  
vendors-node_modules_github_webgl-globe_dist_js_main_js-cf5f119d1214.js:1:272687

tpcsanh
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2015-08-22, 13:45
Location: US

Re: github.com unable to search

Unread post by tpcsanh » 2024-03-10, 20:35

Along with the above, it appears you also need to enable (in about:config):

Code: Select all

dom.dialog_element.enabled
See this discussion:

https://forum.palemoon.org/viewtopic.php?f=70&t=30823

User avatar
MoonDunes
Newbie
Newbie
Posts: 3
Joined: 2024-03-10, 10:34

Re: github.com unable to search

Unread post by MoonDunes » 2024-03-10, 20:52

tpcsanh wrote:
2024-03-10, 20:35
Along with the above, it appears you also need to enable (in about:config):

Code: Select all

dom.dialog_element.enabled
See this discussion:

https://forum.palemoon.org/viewtopic.php?f=70&t=30823
Thanks, that fixed it! (for noobs who have the same issue, copy-paste "about:config" into the pale moon search bar, it goes to a bunch of "secret" options)

The search bar is awkwardly in the top right corner with parts of it obscured but it's otherwise usable.

And "performance observers" seem to be optional, it's this dialog_element that needs to be enabled, but I'll keep it on anyway since it was giving an error, maybe it helps on other sites