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

Function applyStyleHotfixes

source/helpers/hotfix.tsx:81–88  ·  view source on GitHub ↗
(style: string)

Source from the content-addressed store, hash-verified

79}
80
81export async function applyStyleHotfixes(style: string): Promise<void> {
82 if (isDevelopmentVersion() || isEnterprise() || !style) {
83 return;
84 }
85
86 // Prepend to body because that's the only way to guarantee they come after the static file
87 document.body.prepend(<style>{style}</style>);
88}
89
90let localStrings: Record<string, string> = {};
91export function _(...arguments_: Parameters<typeof concatenateTemplateLiteralTag>): string {

Callers

nothing calls this directly

Calls 3

isDevelopmentVersionFunction · 0.85
isEnterpriseFunction · 0.85
prependMethod · 0.80

Tested by

no test coverage detected