📜 ⬆️ ⬇️

Web Inspector in Chrome Notifications

Good morning Habr.
More than half a year ago, I decided to update my first and only extension for chrome.
Not very intricate timer with the ability to run multiple counters at the same time, the first of its kind :), but that's not the point.
Web Inspector helped me a lot with developing an extension. Called this utility is not as easy as for a simple page, but through a special link generated for each page of the extension.

Well, you probably already know this, and in perplexity why this whole story.
As the title indicates, the problem comes when you need to adjust the notification page.


If my memory serves me, a link to it appeared when the notification was opened, on the chrome://extensions/ page, immediately after the link to the background page.


Unfortunately in the latest versions of chrome, the links are no longer there.
The solution to this problem, I accidentally found out today, and decided to share with you.
As it turned out in chrome there is such a link: chrome://inspect/ , where all open pages are displayed. Including expansion pages. You can even view the inspector page itself.
')

You can also see a list of all the chrome “pages” here: chrome://chrome-urls/ . I hope someone will come in handy.
Thanks for attention.

Source: https://habr.com/ru/post/165615/


All Articles