You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Check the status of calls being sent from github.com domain.
* This is required to know whether the page which is responsible for rendering GitHub page has completed.
* GitHub is now SPA
*
* Read the deatiled blog - https://medium.com/@softvar/making-chrome-extension-smart-by-supporting-spa-websites-1f76593637e8
*/
chrome.webRequest.onCompleted.addListener(
function(details) {
const parsedUrl = new URL(details.url);
if (currentUrl && currentUrl.indexOf(parsedUrl.pathname) > -1 && tabId) {
* Since, GitHub is now SPA, we need to add this listener to know when page-url has changed so that Extension can work on all pages perfectly.
*
* Read the deatiled blog - https://medium.com/@softvar/making-chrome-extension-smart-by-supporting-spa-websites-1f76593637e8