Incremental Reading

Read. Recite.

目前為 2018-01-18 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Incremental Reading
// @namespace    http://tampermonkey.net/
// @version      0.2.0
// @description  Read. Recite.
// @description:en  Read. Recite.
// @author       Feng Ya
// @match        https://www.instapaper.com/read/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
  'use strict';

  // Your code here...

  GM_addStyle('.mask {background-color: black !important;}');

  $('.highlight').click(function() {
    $(this).toggleClass('mask');
  });

  $('body').keyup(function(event) {
    // key: h (72)
    if (event.which === 72) {
      $('.highlight').toggleClass('mask');
    }
  });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址