티스토리 뷰

공부

[Chrome Extension] ActiveTab

seunggabi 승가비 2020. 1. 19. 20:42
    chrome.tabs.getSelected(null, (tab) => {
        console.log(tab.id);
        console.log(tab.url);
    });

 

[출처] https://stackoverflow.com/questions/6132018/how-can-i-get-the-current-tab-url-for-chrome-extension

'공부' 카테고리의 다른 글

[Python] Merge array  (0) 2020.02.08
Setting Local Develop Env.  (0) 2020.01.26
[Chrome Extension] ActiveTab  (0) 2020.01.19
[NodeJS] ngrok command not found in MacOSX  (0) 2020.01.18
[Hive] FAILED: ParseException line 1:109 missing EOF at 'as' near ')'  (0) 2020.01.18
[Java] Deep copy Date  (0) 2020.01.18
댓글
댓글쓰기 폼