Page 44 of 49

Re: Plugin pour Papyrus

Posted: Tue Oct 04, 2011 6:08 pm
by slicer
De toute facon, il est recommandé d'utiliser Chrome pour Papyrus ! Mais sous Win7, ca marche avec FF !

Re: Plugin pour Papyrus

Posted: Wed Oct 05, 2011 9:44 am
by slicer
j'ai chargé le script avec chrome mais je n'ai pas l'affichage du tableau. Je suppose qu'il suffit de changer l'entête commenté du script. Je vais voir avec un script qui fonctionne sous FF et Chrome.

Et ton problème de tableau vient de ton timeout qui est trop court quand le DOM n'a pas fini de charger, je suppose :) Tu ne veux pas utiliser le XHR plutot ?

Re: Plugin pour Papyrus

Posted: Wed Oct 05, 2011 2:43 pm
by slicer
Oui j'ai vu ca merci :) mais Alcolo n'utilise pas les fonctions de Greasemonkey dans son script. Ca vient d'un autre souci, les unsafeWindows en fait. Et j'ai trouvé un script qui adapte les GM pour chrome mais ca ne change rien ! Mais merci quand même :)

Re: Plugin pour Papyrus

Posted: Thu Oct 06, 2011 10:56 am
by slicer
Alcolo, le script ne fonctionne pas sous chrome. Je vais jeter un oeil :)

Re: Plugin pour Papyrus

Posted: Thu Oct 06, 2011 10:59 am
by slicer
Yes Tim, pour some others chrome's extensions can handled the GM_ fonctions. I'm searching for a solution :)

Re: Plugin pour Papyrus

Posted: Thu Oct 06, 2011 11:55 am
by slicer
waze.user.zip
Voici le script modifié :
(2.12 KiB) Downloaded 117 times
J'ai trouvé :)

le problème du script, c'est ici :

Code: Select all

unsafeWindow = (function() {
    var el = document.createElement('p');
    el.setAttribute('onclick', 'return window;');
    return el.onClick();
  })();
return el.onClick(); il faut enlever le C majuscule par un c minuscule :

Code: Select all

unsafeWindow = (function() {
    var el = document.createElement('p');
    el.setAttribute('onclick', 'return window;');
    return el.onclick();
  })();
Alcolo, si tu veux je peux maintenir une version pour chrome ! dis moi :)

Re: Plugin pour Papyrus

Posted: Thu Oct 06, 2011 1:20 pm
by slicer
Tim1987 wrote:Hope you don't mind me talking English here? (Or should I buzz off to the Papyrus forum? :))
Non that's cool :) Lots of us can translate :)
But I think we should discuss first because everybody's doing something on his own, and that's making a lot of different ways. We should create a topic on the papyrus's dedicated forum no, with one link to download ?

Must see with Alcolo, Alan, you and others who wants to take part of this little project :)

Re: Plugin pour Papyrus

Posted: Mon Jan 02, 2012 7:59 am
by slicer
Merci pour ton boulot !!!

Tu as essayé de l'adapter pour chrome déjà ? Ou ca ne fonctionne pas avec Chrome ?

Re: Plugin pour Papyrus

Posted: Mon Jan 02, 2012 9:04 am
by slicer
je vais essayer alors !

Re: Plugin pour Papyrus

Posted: Mon Jan 02, 2012 9:32 am
by slicer
Pas besoin d'adaptation, ca fonctionne avec chrome aussi sans rien faire ! Merci pour le boulot.

Je me permets une petite suggestion : y'a-t-il un moyen pour mettre "en petit" le popup que tu génères ? comme une fenêtre windows que tu réduis dans la barre des taches par exemple :)