Skip to content

Instantly share code, notes, and snippets.

@iqiancheng
Last active August 9, 2020 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iqiancheng/10248f229d1e02a8a47aede84a2c9119 to your computer and use it in GitHub Desktop.
Save iqiancheng/10248f229d1e02a8a47aede84a2c9119 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name 让极客时间的内容可以复制!
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 让极客时间的内容可以复制!
// @author qiancheng
// @include *//time.geekbang.org/*
// @grant none
// @require http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js
// ==/UserScript==
(function() {
'use strict';
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