commit 25c03cff5d651f06247e58befcb95562923f3007 Author: xaloc Date: Tue Jun 2 01:33:42 2020 +0200 primer commit diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e86b3ef --- /dev/null +++ b/LICENSE @@ -0,0 +1,5 @@ +"THE NON-ALCOHOLIC-BEVERAGE-WARE LICENSE": + + wrote this. As long as you retain this notice you can +do whatever you want with this stuff. If we meet some day, and you think this +stuff is worth it, you can buy me a non-alcoholic beverage in return Xaloc diff --git a/README.md b/README.md new file mode 100644 index 0000000..9fde18e --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Una web on poder escoltar la web en streaming i res més. Sense distraccions ni molèsties. diff --git a/index.html b/index.html new file mode 100644 index 0000000..18a25d4 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + + + Radios + + + + + + + + + + + diff --git a/script.js b/script.js new file mode 100644 index 0000000..763972c --- /dev/null +++ b/script.js @@ -0,0 +1,13 @@ +class station{ + constructor(url){ + this.url= url; + } + show(){ + var win=window.open(this.url, '_blank'); + win.focus(); + } +} + +var catRadio = new station('http://shoutcast.ccma.cat/ccma/catalunyaradioHD.mp3'); +var catInfo = new station('http://shoutcast.ccma.cat/ccma/catalunyainformacioHD.mp3'); +var iCat = new station('http://shoutcast.ccma.cat/ccma/icatHD.mp3');