mirror of
https://github.com/hexahigh/portfolio.git
synced 2025-12-12 03:25:06 +01:00
fuck javascript
This commit is contained in:
parent
53c12c038c
commit
b4fb5ecc28
9
index.js
9
index.js
@ -30,8 +30,7 @@ document.querySelector('.current-year').innerText = year;
|
||||
$.getJSON("https://api.ipify.org?format=json", function(data) {
|
||||
var userip = (data.ip);
|
||||
document.getElementById("formip").value = (data.ip);
|
||||
})
|
||||
fetch('vpnip.txt')
|
||||
fetch('vpnip.txt')
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(arrayBuffer => {
|
||||
const decoder = new TextDecoder('utf-8');
|
||||
@ -47,8 +46,4 @@ $.getJSON("https://api.ipify.org?format=json", function(data) {
|
||||
}
|
||||
})
|
||||
.catch(error => console.error(error));
|
||||
|
||||
//var vpniplist = allText.split(/\r\n|\n/);
|
||||
//var vpniplist = [];
|
||||
|
||||
//add the vpnlist to a array and split it
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user