Recyclex / GBF Selectable Text

// ==UserScript==
// @name         GBF Selectable Text
// @version      20190412.1
// @description  Makes text selectable.
// @match        *://game.granbluefantasy.jp/*
// @match        *://gbf.game.mbga.jp/*
// @require      http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @grant        GM_addStyle
// @downloadURL  https://openuserjs.org/src/scripts/Recyclex/GBF_Selectable_Text.user.js
// @updateURL    https://openuserjs.org/src/scripts/Recyclex/GBF_Selectable_Text.user.js
// @license      MIT
// ==/UserScript==

$(".nocopy").removeClass ("nocopy");

setInterval (fixInlineStyles, 999);

function fixInlineStyles () {
    $("[style*='user-select']").each ( function () {
        var jThis       = $(this);
        var styleAttr   = jThis.attr ("style");
        styleAttr       = styleAttr.replace (/user-select:\s*none/g, "user-select: text");
        jThis.attr ("style", styleAttr);
    } );

    unsafeWindow.jQuery(document).unbind ("keydown");
}

GM_addStyle ( "                                 \
    * {                                         \
        -moz-user-select: text !important;      \
        user-select: text !important;           \
        -webkit-user-select: text !important;   \
    }                                           \
" );