N
N
n-12016-11-08 13:04:33
Google Chrome
n-1, 2016-11-08 13:04:33

Why is the link not being followed from the popup window of the extension?

manifest.json:

{
    "manifest_version": 2, 

    "name": "Test", 
    "version": "1", 
    "icons": {
        "128": "128x128.png"
    },

    "browser_action": {
        "default_title": "Test",
        "default_icon": "128x128.png",
        "default_popup": "popup.html"
    }
 }

popup.html:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<a href="http://ya.ru/">Ya</a>
</body>
</html>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2016-11-08
@n-1

For starters, try adding
target="_blank" in the link attributes.
If that doesn't help
stackoverflow.com/questions/8915845/chrome-extensi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question