This pages contains the code necessary to add the Telenet widget to telenet.be webpages.
Non of this code is restricted and is, once implemented equally visible on the telenet.be website and contains NO tokens, security keys or other security risks.
As discussed the setup for the Telenet website exists out of two code parts:
The link for the Premium Plus script:
https://telenet.premiumplus.io/script.js
An example of the setup can be found in the source code of any of the pages linked below.
If you ever enable new pages, we need to append the URL path to the array below.
We only need to append the path after the locale-indicator /nl/ or /fr/.
Currently edit-access to the arrays is restricted to Premium Plus but we can add a CallExcell GitHub user for pull requests to add code themselves.
tier_1 = [
"opzeg",
"verhuis#hello",
"verhuizen",
"easy-switch",
"telenet-abonnement-opzeggen"
]
tier_2 = [
"yelo",
"kijken"
]
You can verify the assignment and status via the browser console.
/nl/
/nl/opzeg
/nl/kijken
/nl/verhuis
/fr
/fr/opzeg
/fr/kijken
/fr/verhuis
/en/
/en/opzeg
/en/kijken