GDocs Display blank form after submit

Redirects back to empty form after displaying the confirmation message for 5 seconds

2015/07/20のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         GDocs Display blank form after submit
// @version      0.1
// @description  Redirects back to empty form after displaying the confirmation message for 5 seconds
// @author       Melgior
// @match        https://docs.google.com/*/formResponse*
// @grant        none
// @namespace https://greasyfork.runtimutd.eu.org/users/5660
// ==/UserScript==

if (!document.querySelector("input[type=submit]")) {
    setTimeout(function(){
        document.location = document.location.href.replace("formResponse", "viewform");
    }, 5000);
}