iEMB+

Makes the new iEMB more tolerable

2017/05/04のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         iEMB+
// @namespace    http://yeoxingyee.ml/
// @version      0.1.1
// @description  Makes the new iEMB more tolerable
// @author       You
// @match        *://iemb.hci.edu.sg/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var link = document.createElement("link");
    link.href = "https://dl.dropboxusercontent.com/s/0highctaaf3h8cz/iemb%2B.css";
    link.type = "text/css";
    link.rel = "stylesheet";
    document.getElementsByTagName("head")[0].appendChild(link);

    var reader = '<button id="reader" onClick="autoread()">Read All</button>';
    $(".unread_mess_bg").append(reader);
    var scriptinject = document.createElement("script");
    scriptinject.innerHTML = 'function autoread(){ var i = 0;var x = $("#allMSG>a>em").text(); if(x=="0"){ window.alert("All Messages are already Read!"); return;} console.log(x); var c = 1;var iframeread;while(x--){iframeread= document.createElement("iframe");document.body.appendChild(iframeread);iframeread.height="0";iframeread.src=$("a.messageboard")[i].href;i++;}; location.reload();}';
    document.getElementsByTagName("head")[0].appendChild(scriptinject);
})();