Skip to content

Instantly share code, notes, and snippets.

@Rand01ph
Created September 4, 2018 08:41
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 11 You must be signed in to fork a gist
  • Save Rand01ph/8dfa9a0ea396e560ac0f97373c863631 to your computer and use it in GitHub Desktop.
Save Rand01ph/8dfa9a0ea396e560ac0f97373c863631 to your computer and use it in GitHub Desktop.
让极客时间的内容可以复制
// ==UserScript==
// @name geektime copy
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 让极客时间的内容可以复制!
// @author Rand01ph
// @match https://time.geekbang.org/column/*
// @grant none
// @require http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js
// ==/UserScript==
(function() {
'use strict';
// Your code here...
document.addEventListener("copy", function (event) {
event.stopPropagation();
}, true);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment