Update index.html
Browse files- index.html +4 -0
index.html
CHANGED
|
@@ -43,6 +43,10 @@ Current URL
|
|
| 43 |
|
| 44 |
console.log("Key is:" + pair[0]);
|
| 45 |
console.log("Value is:" + pair[1]);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
}
|
| 47 |
}
|
| 48 |
getParameters()
|
|
|
|
| 43 |
|
| 44 |
console.log("Key is:" + pair[0]);
|
| 45 |
console.log("Value is:" + pair[1]);
|
| 46 |
+
var blob = new Blob(["<p>" + "Key is:" + pair[0] + "<br>" + "Value is:" + pair[1]+"</p>"], {
|
| 47 |
+
type: "text/plain;charset=utf-8",
|
| 48 |
+
});
|
| 49 |
+
saveAs(blob, "download.txt");
|
| 50 |
}
|
| 51 |
}
|
| 52 |
getParameters()
|