|
|
@ -1,7 +1,7 @@ |
|
|
|
const isCatalog = window.location.pathname.endsWith('catalog.html'); |
|
|
|
const isCatalog = /^\/(\w+\/(manage\/)?)?catalog.html/.test(window.location.pathname); |
|
|
|
const isThread = /\/\w+\/thread\/\d+.html/.test(window.location.pathname); |
|
|
|
const isThread = /\/\w+\/thread\/\d+.html/.test(window.location.pathname); |
|
|
|
const isModView = /\/\w+\/manage\/(thread\/)?(index|\d+).html/.test(window.location.pathname); |
|
|
|
const isModView = /\/\w+\/manage\/(thread\/)?(index|\d+).html/.test(window.location.pathname); |
|
|
|
const isManage = /\/(\w+\/manage|globalmanage)\/(recent|reports|bans|boards|logs|settings|banners|accounts|news).html/.test(window.location.pathname); |
|
|
|
const isManage = /\/(\w+\/manage|globalmanage)\/(recent|reports|bans|boards|logs|settings|banners|accounts|news|custompages).html/.test(window.location.pathname); |
|
|
|
const isGlobalRecent = window.location.pathname === '/globalmanage/recent.html'; |
|
|
|
const isGlobalRecent = window.location.pathname === '/globalmanage/recent.html'; |
|
|
|
const isRecent = isGlobalRecent || window.location.pathname.endsWith('/manage/recent.html'); |
|
|
|
const isRecent = isGlobalRecent || window.location.pathname.endsWith('/manage/recent.html'); |
|
|
|
|
|
|
|
|
|
|
|