SHOW:
|
|
- or go back to the newest paste.
1 | <script> | |
2 | - | var jamesimagesrc = 'https://parmois.com/250x250.png'; |
2 | + | // Les espaces membres SystemeIO du futur - https://sio.tapezinfo.com/espace |
3 | - | var jamesimagelink = 'https://parmois.com'; |
3 | + | // |
4 | // Offres SystemeIO : https://docs.google.com/spreadsheets/d/1PHgDSNi5SMogWF-TJ6brncT1c9VJOB_W4pvveXGN2lQ/edit?usp=sharing | |
5 | - | var jamespseudo1tpe = 'page'; // remplacez page par votre pseudo 1TPE si vous en avez un |
5 | + | // Fontawesome (icones) : https://fontawesome.com/v5/cheatsheet |
6 | // BONUS : 10 groupes de pub Facebook : https://tapezinfo.com/groupes | |
7 | - | var cul = document.createElement("div"); |
7 | + | |
8 | - | cul.innerHTML = '<div class="leculdetasoeur">' |
8 | + | // changer les icônes des modules dans un espace membre SystemeIO |
9 | - | + '<a href="' + jamesimagelink + '" target="_blank">' |
9 | + | var x = document.querySelectorAll(".course-info__module-title-icon"); |
10 | - | + '<img src="' + jamesimagesrc + '">' |
10 | + | var i; |
11 | - | + '</a></div>'; |
11 | + | for (i = 0; i < x.length; i++) { |
12 | x[i].innerHTML = '<i class="fas fa-users-class"></i>'; | |
13 | - | var el = getElementsByClass("div", "course-info__modules"); |
13 | + | |
14 | - | if (el.length > 0) el[0].parentNode.insertBefore(cul, el[0].nextSibling); |
14 | + | |
15 |