Use tabOpenLink instead of window.open
This commit is contained in:
parent
b380d3686c
commit
976bde701e
4
conf.js
4
conf.js
|
@ -165,9 +165,7 @@ function mapsitekeys(d, maps, opts = {}) {
|
|||
})
|
||||
}
|
||||
|
||||
const fakeSpot = () => window
|
||||
.open(`http://fakespot.com/analyze?url=${window.location.href}`, "_blank")
|
||||
.focus()
|
||||
const fakeSpot = () => tabOpenLink(`http://fakespot.com/analyze?url=${window.location.href}`)
|
||||
|
||||
mapsitekeys("amazon.com", [
|
||||
["fs", "Fakespot", fakeSpot],
|
||||
|
|
Loading…
Reference in New Issue