MCPcopy
hub / github.com/ChinaGodMan/UserScripts / isPlaylistPage

Function isPlaylistPage

youtube-dynamic-grid/youtube-dynamic-grid.user.js:405–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403 * @returns {boolean} True if URL starts with /playlist
404 */
405 const isPlaylistPage = () => window.location.pathname.startsWith('/playlist')
406
407 /**
408 * Logs messages to the console based on debug mode and log level.

Callers 8

injectCSSFunction · 0.85
tryUpdateFunction · 0.85
pollGridFunction · 0.85
handleNavigationFunction · 0.85
startObserverFunction · 0.85
setupEventListenersFunction · 0.85
resizeHandlerFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected