MCPcopy Index your code
hub / github.com/refined-github/refined-github / hideLanguageHeader

Function hideLanguageHeader

source/features/clean-repo-sidebar.tsx:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31async function hideLanguageHeader(): Promise<void> {
32 await domLoaded;
33
34 const languageHeader = $('[class*=\'PageLayout-Pane\'] .BorderGrid-row:has(.Progress-item) h2');
35 assertNodeContent(languageHeader.firstChild, 'Languages');
36 languageHeader.classList.add('sr-only');
37}
38
39// Hide empty meta if it’s not editable by the current user
40async function hideEmptyMeta(): Promise<void> {

Callers

nothing calls this directly

Calls 1

assertNodeContentFunction · 0.85

Tested by

no test coverage detected