1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
Kevin Serrano 2016-10-15 15:41:24 -07:00
parent 91a8977d27
commit 0d495372da
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -73,7 +73,7 @@ function shouldInjectWeb3(){
} }
function isAllowedSuffix(testCase) { function isAllowedSuffix(testCase) {
var prohibitedTypes = ['xml','pdf'] var prohibitedTypes = ['xml', 'pdf']
var currentUrl = window.location.href var currentUrl = window.location.href
var currentRegex var currentRegex
for (let i = 0; i < prohibitedTypes.length; i++) { for (let i = 0; i < prohibitedTypes.length; i++) {