NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Mark all email Google Inbox // @namespace facebook.com/andrew.y0u // @version 0.1 // @description Mark all email Google Inbox (Use "Mark" every 50 emails, don't open all at once = this causes hang (need to wait before the script processes all emails) // @author andrew y0u // @grant none // @match https://inbox.google.com/* // @require https://code.jquery.com/jquery-2.2.2.min.js // @updateURL https://openuserjs.org/meta/andrew.y0ufacebook.com/Mark_all_email_Google_Inbox.meta.js // ==/UserScript== (function() { 'use strict'; $('body').append('<div style="padding: 10px 15px; background: #000; position: fixed; right: 0px; top: 100px; color: #fff;" id="DELETE-MAIL">MARK</div>'); $('#DELETE-MAIL').click(function(){ var checkbox = $('div[aria-checked="false"]'); checkbox.each(function(){ $(this).trigger('click'); }); }); })();