Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Dummy User-Agent to appease Firefox and get working.
It looks like Firefox will allow me to replace the User-Agent string,
but not for it to be empty. Twitter will offer a 301 Redirect (the
wanted result) to any random string.
  • Loading branch information
Zegnat committed Sep 24, 2016
1 parent cb21b4a commit 51d45f601d6058126cf949439b5feb5f7696c1e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/background.js
@@ -54,7 +54,7 @@ function fetchNext (urls, respond, data) {
let url = urls.shift()
window.fetch(url, {
method: 'HEAD',
headers: new Headers({ 'User-Agent': '' })
headers: new Headers({ 'User-Agent': 'verify-me-locally' })
}).then(function (response) {
if (response.url === {
respond({status: 'verified', index: data.index})

0 comments on commit 51d45f6

Please sign in to comment.