InscriptionConnexion
Image

[SCRIPT] OnPoll




Image


Installation


Prérequis pour Android : Il faut d'abord installer le navigateur Kiwi Browser (équivalent de Chrome)
Chrome Kiwi Browser : https://play.google.com/s[...]browser.browser&pli=1

Prérequis pour iPhone : Il faut d'abord installer le navigateur Insight Browser (équivalent de Safari) : https://apps.apple.com/ap[...]e-store/id1531407280?mt=8

Étape 1 : Installez un gestionnaire d'userscript comme TamperMonkey :
- pour Chrome Chrome, Brave et Mobile (Kiwi) : https://chrome.google.com[...]fjojejmpbldmpobfkfo?hl=fr
- pour Firefox : https://addons.mozilla.or[...]refox/addon/tampermonkey/
- pour Opera : https://addons.opera.com/[...]rmonkey-beta/?display=en/
- pour Safari : https://apps.apple.com/ap[...]3&ct=tm.net&mt=8/
- pour Edge : https://microsoftedge.mic[...]paadaobahmlepeloendndfphd

Étape 2 : Installez OnPoll
Installez OnPoll en cliquant sur un des liens ci-dessous puis sur le bouton "Installer" dans la fenêtre qui s'ouvre

Liens d'install


https://jvscript.fr/script/onpoll

Changelog

Version 0.1.0
- premiere version - ajoute l'interface de sondage strawpall sur les topics en remplacement des liens
il y a un an
First
:Ananonche:
il y a un an
Fav
:selec:
il y a un an
Cimer chef
:maracas:
il y a un an
sex
il y a un an-PEMT
First
:Ananonche:
Sympa le onchananas
:Oopsi:
il y a un an
COOL
il y a un an
content que ça vous plaise les clés
il y a un an
Je demande une épingle pour cet Onchien méritant !
:Meyers:


_____
Le délire New Vegas vaincra !
:Sunset_Sarsaparilla:
Viva New Vegas ! Image
il y a un an
Petit up, le script est très important pour les nouveaux.
:Meyers:


_____
Le délire New Vegas vaincra !
:Sunset_Sarsaparilla:
Viva New Vegas ! Image
il y a un an
Excellent, merci
il y a un an
ça pu lamerd bordelent
il y a un an
Gg
:love:
il y a un an
// ==UserScript==
// @name OnPoll
// @version 0.1.2
// @description Sondage strawpoll dans vos topics Onche !
// @author RisiOnche
// @match https://onche.org/topic/*
// @icon https://www.risishack.com/vljrgv.png
// @grant none
// @downloadURL https://gist.github.com/G[...]0513c9/raw/onpoll.user.js
// @updateURL https://gist.github.com/G[...]0513c9/raw/onpoll.user.js
// ==/UserScript==

(function() {
'use strict';

document.querySelectorAll("a.link[target='_blank']")?.forEach(link => {
const url = link.href;
if(url.startsWith("https://strawpoll.com/polls/";)){
const id = url.replace('https://strawpoll.com/polls/';, '').replace('/results', '');
link.insertAdjacentHTML('afterEnd', `<div class="strawpoll-embed" id="strawpoll_${id}" style="height: 480px; max-width: 640px; width: 100%; display: flex; flex-direction: column;"><iframe title="StrawPoll Embed" id="strawpoll_iframe_${id}" src="https://strawpoll.com/emb[...]/polls/${id}/results"; style="position: static; visibility: visible; display: block; width: 100%; flex-grow: 1;" frameborder="0" allowfullscreen allowtransparency>Loading...</iframe><script async src="https://cdn.strawpoll.com/dist/widgets.js"; charset="utf-8"></script></div>`);
}
});
})();


:Pipboy_thanksgiving:


_____
Le délire New Vegas vaincra !
:Sunset_Sarsaparilla:
Viva New Vegas ! Image
il y a un an
Test :

https://strawpoll.com/polls/40ZmqBDjKZa


_____
Le délire New Vegas vaincra !
:Sunset_Sarsaparilla:
Viva New Vegas ! Image
il y a un an