GNLT/script.js
2022-09-23 16:03:30 +02:00

13 lines
265 B
JavaScript

class link{
constructor(url){
this.url= url;
}
show(){
var win=window.open(this.url, '_blank');
win.focus();
}
}
var firstlink = new link('https://git.xaloc.space')
var secondlink = new link('https://fsf.org')
var thirdlink = new link('https://fedi.cat')