Skip to content

Initial commit for chrome extension#976

Open
bhansa wants to merge 7 commits into
hacktoberfest17:masterfrom
bhansa:master
Open

Initial commit for chrome extension#976
bhansa wants to merge 7 commits into
hacktoberfest17:masterfrom
bhansa:master

Conversation

@bhansa

@bhansa bhansa commented Oct 23, 2017

Copy link
Copy Markdown
Contributor

Pull Request checklist -

@HemantPawar HemantPawar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to check whether the first link has href attribute or not?

update it to something like:

document.querySelector("a[href]").href

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A chrome extension which opens the first link on the site in a new tab

3 participants