Skip to content

Microsoft Edge API tab data does not contain URL  #25

Description

@derekjtong

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions