MCPcopy Create free account
hub / github.com/NMWplays/Glowify / applyHomeLayout

Function applyHomeLayout

theme.js:4226–4230  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

4224 const getCustomImage = () => localStorage.getItem(STORAGE_KEY_CUSTOM);
4225 const getCustomUrl = () => localStorage.getItem(STORAGE_KEY_URL);
4226 function isArtistPage() {
4227 try {
4228 return location && location.pathname && location.pathname.includes("/artist") || !!document.querySelector(ART_SELECTOR);
4229 } catch {
4230 return false;
4231 }
4232 }
4233 function getImgElem(el) {

Callers 2

handleResetFunction · 0.85
SettingsContentFunction · 0.85

Calls 1

updateHomeLayoutCssFunction · 0.85

Tested by

no test coverage detected