scription

[ manifest.json ] 사용자의 Tab 정보를 활용하여 화면을 제어하기 때문에, permissions을 추가 /* manifest.json */ ... "permissions": [ "...", "tabs", "scripting" ], "host_permissions":[ /* 특정 URL에 script 주입을 위한 권한 */ "http://*/", "https://*/" ], ... [ Background JS ] 다양한 브라우저 event들을 monitoring하여 작업을 수행하는 코드를 작성한다 탭 URL 변경 감지 chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab)=>{ if(changeInfo.status === 'complete')..
점이
'scription' 태그의 글 목록