Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Review edits have the option to force edit, which will edit the original post, as opposed to improve which will edit the suggested edit.

UserScript:

// ==UserScript==
// @name          Force edit suggested reviews Stackoverflow
// @namespace     stackoverflow
// @description   Allows you to bypass reviewing suggested edits and just edit
// @include       http://stackoverflow.com/*
// ==/UserScript==

(function () {
    function with_jquery(f) {
        var script = document.createElement("script");
        script.type = "text/javascript";
        script.textContent = "(" + f.toString() + ")(jQuery)";
        document.body.appendChild(script);
    }

    with_jquery(function ($) {
        $("a[id^=edit-pending-]").each(function () {
            var id = $(this).attr('id').substr(13),
                href = $(this).attr('href');
            $(this).replaceWith('<a id="edit-pending-' + id + '" href="' + href + '" title="1 edit to this post is pending, please review it">review edit (1)</a><span class="lsep">|</span><a href="/posts/' + id + '/edit" class="edit-post" title="force edit this post">force edit</a>');
        });
    });

}());
share|improve this question
    
How did you create such a nice animated gif? I tried to used ffmpeg, but the output was horrible... – Paul Sweatte Feb 20 '14 at 23:53
    
@PaulSweatte LICEcap with a framerate of 30. For a small demonstration, the filesize is usually small ~200-300kb. – Dave Chen Feb 21 '14 at 5:04
    
LICEcap, never heard of it until now. It generates animated gifs by default, so no conversion needed. Thanks! – Paul Sweatte Feb 24 '14 at 18:04

You must log in to answer this question.

Browse other questions tagged .