2022-09-23 14:58:23 +01:00
|
|
|
class link{
|
|
|
|
constructor(url){
|
|
|
|
this.url= url;
|
|
|
|
}
|
|
|
|
show(){
|
|
|
|
var win=window.open(this.url, '_blank');
|
|
|
|
win.focus();
|
|
|
|
}
|
2022-09-23 15:03:30 +01:00
|
|
|
}
|
|
|
|
var firstlink = new link('https://git.xaloc.space')
|
2022-09-23 14:58:23 +01:00
|
|
|
var secondlink = new link('https://fsf.org')
|
|
|
|
var thirdlink = new link('https://fedi.cat')
|