SMBC-comics reading helper

Shows the hover title immediately and the red button panel after a delay to help reading the Saturday Morning Breakfast Cereal web comics.

SMBC-comics reading helper 已被删除,原因为:举报 #30683

由作者提交的申诉:

Report #30683 says:

Script is similar to previously deleted scripts:

   EL CHUPACABRAS ARG Diff 1
   MRModPack Diff 1

I wrote the script "SMBC-comics reading helper" from scratch and I can't see how these previously deleted scripts are similar to my script and why they were deleted.

My script uses title attribute from content on the page to add text to pages like https://www.smbc-comics.com/comic/file and simulates a click on the red button. Both of these features are for ease of reading these web comics. The code overall is pretty trivial:

(function() {
    'use strict';

    $(document).ready(() => {
        if ($("#cc-comic").length > 0) {
            const text = $("#cc-comic").prop('title');
            $('#cc-comicbody').append(`<div style="clear:both;"><span style="font-family:'Comic Sans MS';font-size:150%;">${text}</span></div>`);
        }
        setTimeout(() => {
            $('#extracomic').click();
        }, 2000);
    });
})();

管理员通过了此申诉,并解除了该则脚本的删除状态。