You've already forked bilibili-subtitle
优化提示
This commit is contained in:
7
src/utils/chromeUtils.ts
Normal file
7
src/utils/chromeUtils.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const openOptionsPage = () => {
|
||||
if (chrome.runtime.openOptionsPage) {
|
||||
chrome.runtime.openOptionsPage();
|
||||
} else {
|
||||
window.open(chrome.runtime.getURL('options.html'));
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user