Conversaciones » Desarrolladores

Script Stopped Working After Site Change - Help

§
Publicado: 14/2/2017
Editado: 14/2/2017

Script Stopped Working After Site Change - Help

Hello Everyone,

I just can not figure this out. I was using this script for a year and after an update I'm lost. It seems they may have added some auth method I am not aware of. Previously the script would simulate button clicks on all the "follow" btns. HELP :)

// ==UserScript==
// @Name poshmark auto-follower
// @namespace poshmark_follower
// @include https://poshmark.com/user/*/followers
// @VeRSioN 1
// @Grant none
// ==/UserScript==

function followEveryone () {
$('a[track_action="follow"]:visible').click();

}

(function($) {

var origAppend = $.fn.append;


$.fn.append = function () {

return origAppend.apply(this, arguments).trigger("append");

};
§
Publicado: 15/2/2017
Editado: 15/2/2017

You can find info here:
Clicking a button on a page using a Greasemonkey/userscript in Chrome

And see:
waitForKeyElements.js . A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.

I am not coder and i write something useful with it....

Ps : For more help, maybe you can edit your question's Title by adding something like:
"simulate button clicks on all the "follow" btns."

Publicar respuesta

Inicia sesión para responder.