1

I know of linkclump, but it doesn't work on the "remove" link as shown in this gmail screenshot. I hate having to individually click on each "remove" link. What's a way to solve this problem?

Gmail screenshot

1

You have to use JavaScript to do that. Open up your browser's console and paste this (jQuery): http://code.jquery.com/jquery-latest.min.js

Then this:

$('.alP').each(function () { if($(this).html() === 'remove') $(this).click() })

when the labels page is opened. You could save this as a bookmarkarklet if you need to remove labels often.

  • apologies, could you break this down more step by step? How do I open the browser's console? Where exactly do I paste the link (is it the link I should be pasting)? Where do I paste the code you provided? – user3314418 Aug 30 '15 at 4:47
  • I don't know which webbrowser you use. Google 'open browser console <name of your webbrowser>'. Don't paste the link. Paste the contents of the link. – Alex Aug 30 '15 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.