Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Edge API tab data does not contain URL #25

Open
derekjtong opened this issue Apr 22, 2023 · 0 comments
Open

Microsoft Edge API tab data does not contain URL #25

derekjtong opened this issue Apr 22, 2023 · 0 comments

Comments

@derekjtong
Copy link

derekjtong commented Apr 22, 2023

Relevant course file: 52. Use the Chrome API to get the tab

I am accessing the browser API using:

chrome.tabs.query({ active: true, currentWindow: true }, function (tabs) {
console.log(tabs);

In Google Chrome, the object returned is this:
google chrome api

In Microsoft Edge, the object returned is this:

microsoft edge api

This unanswered StackOverflow question was the only thing I could find online.

How do I get current tab URL in Microsoft Edge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant