letsampleTexts=["arachnides","bicyclette","bidule","bilboquet","biscuit","bitcoins","bitte","bollard","cantine","casserole","chausse-pied","chaloupe","chalutier","champignons","chignon","chouchen","couleurs moches","coton-tige","cucurbitacée","culotte","démocratie","élastique","enzyme","fonte","frigogidaire","germanium","gousse","gousset","hurluberlu","hypocondrie","loquet","mammouth","marmite","Michel Sardou","musaraigne","narcotype","ornythorinque","palette","parc de stationnement","pelle à tarte","perpendicularité","plat à tarte","poêle","pogne","poireau","polochon","pop-corn","poulpe","poutrelle","prolétariat","protozoaire","rateau","sabot","sabre laser","semi-remorque","soulier","taquet","tartenpion","tartignol","téléportation","tentacules","tractopelle","trou noir","vérité","zeste"];
document.getElementById('tweet-button').href='https://twitter.com/intent/tweet?text=Soutenez La Quadrature du Net ! '+encodeURIComponent(window.location.href.split('#')[0]);
document.querySelector('#tweet-button a').href='https://twitter.com/intent/tweet?text=Soutenez La Quadrature du Net ! '+encodeURIComponent(window.location.href.split('#')[0]);
<aclass="randomize white-button">CHOISIR AU HASARD <spanclass="fa fa-random"></span></a>
<buttontype="submit"name="target"value="randomize"class="randomize white-button">CHOISIR AU HASARD <spanclass="fa fa-random"></span></button>
</div>
</div>
<h2>Choisissez votre police</h2>
<h2>Choisissez votre police</h2>
<divclass="fontpicker">
<divclass="fontpicker">
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</div>
</div>
<divid="step4">
<divid="step4">
<divclass="randomize-button-container">
<divclass="randomize-button-container">
<aclass="randomize white-button">CHOISIR AU HASARD <spanclass="fa fa-random"></span></a>
<buttontype="submit"name="target"value="randomize"class="randomize white-button">CHOISIR AU HASARD <spanclass="fa fa-random"></span></button>
</div>
</div>
<h2>Choisissez votre icône</h2>
<h2>Choisissez votre icône</h2>
<divclass="iconpicker">
<divclass="iconpicker">
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
</div>
</div>
<divid="step5">
<divid="step5">
<divclass="randomize-button-container">
<divclass="randomize-button-container">
<aclass="randomize white-button">CHOISIR AU HASARD <spanclass="fa fa-random"></span></a>
<buttontype="submit"name="target"value="randomize"class="randomize white-button">CHOISIR AU HASARD <spanclass="fa fa-random"></span></button>
</div>
</div>
<h2>Signez votre création ! (optionnel)</h2>
<h2>Signez votre création ! (optionnel)</h2>
<inputtype="text"id="signature"name="signature"/>
<inputtype="text"id="signature"name="signature"/>
...
@@ -235,9 +235,9 @@
...
@@ -235,9 +235,9 @@
<div>
<div>
<noscript>Pas de javascript ? Pas de problème !<br/>Ce générateur fonctionne parfaitement sans javascript, seuls la prévisualisation du rendu dans le navigateur et le bouton "aléatoire" sont désactivés.</noscript>
<noscript>Pas de javascript ? Pas de problème !<br/>Ce générateur fonctionne parfaitement sans javascript, seuls la prévisualisation du rendu dans le navigateur et le bouton "aléatoire" sont désactivés.</noscript>
<buttontype="submit"name="target"value="randomize"class="randomize white-button"><a>CHOISIR AU HASARD <spanclass="fa fa-random"></span></a></button>
<buttontype="submit"id="tweet-button"name="target"value="twitter"class="blue-button"target="_blank"href="https://twitter.com/intent/tweet?text=Soutenez La Quadrature du Net !"><spanclass="text">Tweet </span><spanclass="fa fa-twitter"></span></button>