Skip to content

Instantly share code, notes, and snippets.

@MarkyMarkNo1
MarkyMarkNo1 / addInternetRadioStation.js
Created January 24, 2016 16:29
For unknown reasons, AVM limits the FRITZ!Box Internet Radio stations lists (Heimnetz -> Mediaserver -> Internetradio) to max. 40 entries (FRITZ!OS v06.30). This snippet adds further stations to the list. Just adjust four lines below, then copy all, paste and execute in your browsers console.
/**
* For unknown reasons, AVM limits the FRITZ!Box Internet Radio stations lists
* (Heimnetz -> Mediaserver -> Internetradio) to max. 40 entries
* (FRITZ!OS v06.30).
*
* This snippet adds further stations to the list. Just adjust four lines below,
* then copy all, paste and execute in your browsers console.
*
* function sendData taken from
* https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms/Sending_forms_through_JavaScript#Building_an_XMLHttpRequest_manually