ssaamm / greasemonkey-scripts

Useful Greasemonkey scripts I've written
0 stars 2 forks source link

etsy ad block #2

Open ASOADA opened 5 years ago

ASOADA commented 5 years ago

Hi Sam, this is no longer working as of 3-20-18. I've tried downloading and reinstalling both the script and tampermonkey, but no luck. Please advise

ssaamm commented 5 years ago

Hey there, I'm sorry it's not working any more. Unfortunately, I can't provide support for this at this time, though I am always happy to accept a PR!

Karl-S commented 5 years ago

Seems to be working for me when I modified Ssaamm's GreaseMonkey script to use (as of today) etsy's '.ad-iindicator' and changing... somewhat willy-nilly a couple 'parent()'s to the jNode remove call. Reads:

waitForKeyElements (".ad-iindicator", actionFunction);

function actionFunction (jNode) { jNode.parent().parent().parent().parent().parent().parent().parent().remove(); }

I don't have a lot of experience with git but a pull request is hopefully something I figure out if this solution works for someone else.

ssaamm commented 5 years ago

That's awesome, Karl! I think the steps are something like this: