반응형
크롬 익스텐션의 기능중 Tab Url을 감지하는 부분이 있는데 이상하게 구글이랑 나무위키만 중복으로 찍히는걸 확인했다..
문서를 보니까 url 말고 title, favicon url 이 변경됐을때도 업데이트가 된다고 한다..
탭 ChangeInfo Status 상태를 loading 에서 complete로 바꿔봤다.
정상 동작은 되나 너무 느려서 못쓰겠다..
로그를 찍어봤다.
구글은 타이틀이 로드하면서 업데이트 됐고 나무위키는 favicon url 이 업데이트 됐다.
뭐여.. 왜 이렇게 동작하는지는 모르겠지만..
https://developer.chrome.com/docs/extensions/reference/tabs/#event-onUpdated
chrome.tabs - Chrome Developers
Build the next generation of web experiences.
developer.chrome.com
내가 필요한건 url 이니 변경사항에 url이 없으면 무시하도록 했다.
중복없이 잘 찍힌다.
역시.. 문서를 잘봐야한다...
반응형
'Infomation' 카테고리의 다른 글
Chrome-php Operation timed out after 5s error (0) | 2023.08.17 |
---|---|
Mac Webp 변환 빠른동작 Script 등록 (0) | 2023.05.22 |
autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated. (0) | 2023.05.10 |
class redis not found laravel for mac (0) | 2023.03.08 |
Laravel API The POST method is not supported for this route (0) | 2022.12.21 |