Incremental Reading

Read. Recite.

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

// ==UserScript==
// @name         Incremental Reading
// @namespace    http://tampermonkey.net/
// @version      0.7.1
// @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').addClass('mask');

  $('body').click(function(event) {
    if (event.target.nodeName !== 'BODY') return;

    // Instapaper: Remove Note
    if ($('div.highlight_popover.reveal').length > 0) return;

    $('.highlight').toggleClass('mask');
  });
})();

QingJ © 2025

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