Giter Site home page Giter Site logo

celery's Introduction

🌿芹菜

一个解除网页“禁用复制”的小书签。

一般的锁抬手拿根面条就能捅开,银行保险柜一根芹菜就捅开了,拿包方便面能出入任何一个小区。—— 郭德纲相声

安装

安装

问题反馈

Issues

部分网站通过设置严格的 CSP 禁止了小书签的执行,可以通过禁用 CSP来执行小书签。

不是有很多插件可以解除“禁用复制”吗,为什么要再写一个?

在写这个小书签之前我也试用过很多插件,每个插件能解决一部分问题,但是每一个都有遗漏。这个小书签能解除以下情形的“禁用复制”:

  • 通过 DOM 0 事件禁用复制,文本选择,右键菜单等(一般插件可以处理)。
  • 通过样式禁用文本选择(一般插件可以处理)。
  • 通过事件监听禁用复制,文本选择,右键菜单等(较少的插件可以处理)。
  • 通过 Document 的事件监听禁用复制,文本选择,右键菜单等(没有发现能处理的插件)。
  • 通过嵌套 iframe 禁用复制(没有发现能处理的插件)。
  • 通过定时器反复禁用复制(没有发现能处理的插件)。

你可以打开这个测试页面来测试下你使用的插件。

celery's People

Contributors

yulanggong avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.