Discussions » Development

Script Stopped Working After Site Change - Help

§
Posted: 2017-02-14
Edited: 2017-02-14

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");

};
§
Posted: 2017-02-15
Edited: 2017-02-15

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."

Post reply

Sign in to post a reply.