Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

target='_blank' link #94

Merged
merged 1 commit into from
Oct 25, 2017
Merged

target='_blank' link #94

merged 1 commit into from
Oct 25, 2017

Conversation

ueokande
Copy link
Owner

close #82

This change allow to open a link with target='_blank'. This avoid preventing a new tab by the browser.

@ueokande ueokande merged commit 40a33ad into master Oct 25, 2017
@ueokande ueokande deleted the target-blank branch October 25, 2017 12:16
This was referenced Oct 25, 2017
@@ -68,7 +69,7 @@ export default class Follow {
return browser.runtime.sendMessage({
type: messages.OPEN_URL,
url: element.href,
newTab: this.newTab,
newTab: true,
Copy link

Choose a reason for hiding this comment

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

This change allows to open a new tab even when newTab is false.
I think it's better to prioritize user's newTab option.

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

Successfully merging this pull request may close these issues.

Pop-up windows are prevented
2 participants