(tabURL: string)
| 678 | //---------------------- |
| 679 | |
| 680 | private static getTabInfo(tabURL: string): Pick<TabInfo, 'isInDarkList' | 'isProtected'> { |
| 681 | const isInDarkList = ConfigManager.isURLInDarkList(tabURL); |
| 682 | const isProtected = !canInjectScript(tabURL); |
| 683 | return { |
| 684 | isInDarkList, |
| 685 | isProtected, |
| 686 | }; |
| 687 | } |
| 688 | |
| 689 | private static getTabMessage = (tabURL: string, url: string, isTopFrame: boolean, topFrameHasDarkTheme?: boolean): TabData => { |
| 690 | const settings = UserStorage.settings; |
no test coverage detected