chore: get ready for release (#308)
* chore: get ready for release * chore: update pnpm-lock.yaml * chore(docs): update CHANGELOG.md * chore: fix lint warnings and add notes --------- Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
This commit is contained in:
@@ -31,12 +31,10 @@ chrome.runtime.onInstalled.addListener(details => {
|
||||
}
|
||||
});
|
||||
|
||||
// migration/login logic
|
||||
chrome.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
|
||||
console.log(changeInfo);
|
||||
if (changeInfo.url === 'https://utdirect.utexas.edu/apps/registrar/course_schedule/utrp_login/') {
|
||||
console.log('UTDirect detected');
|
||||
// close the tab, open popup
|
||||
|
||||
function openPopupAction() {
|
||||
chrome.tabs.onActivated.removeListener(openPopupAction);
|
||||
chrome.action.openPopup();
|
||||
|
||||
Reference in New Issue
Block a user