export const getIsOptionManifest = () => window.location.protocol === 'chrome-extension:';
export const getIsPopupManifest = () => window.location.protocol === 'chrome-extension:' && window.location.pathname.includes('popup');
export const getIsContentpManifest = () => typeof chrome !== 'undefined' && typeof document !== 'undefined' && !chrome.extension.getBackgroundPage;
export const getIsBackgroundpManifest = () => typeof self !== 'undefined' && !!self.registration;
