本文共 2276 字,大约阅读时间需要 7 分钟。
vim 启用右键粘贴
Some companies think they’re increasing security by disabling your ability to paste into form fields, such as the password field. But in reality, all they’re doing is frustrating users–and by blocking password managers. Here’s how to solve this annoyance in Chrome and Firefox.
一些公司认为,通过禁用您粘贴到表单字段(例如密码字段)的功能,他们正在提高安全性。 但实际上,他们所做的只是让用户感到沮丧-并通过阻止密码管理器来。 以下是解决Chrome和Firefox中这种烦恼的方法。
If Chrome is your browser of choice, the easiest solution to your pasting problems is . Add that extension to Chrome, and it will just work quietly in the background. It tells the browser to accept all paste events and skip any paste event handlers on the page.
如果您选择使用Chrome浏览器,那么解决粘贴问题最简单的方法就是 。 将扩展程序添加到Chrome中,它将在后台安静地运行。 它告诉浏览器接受所有粘贴事件,并跳过页面上的所有粘贴事件处理程序。
This is , in case you’re interested:
如果您有兴趣,这是:
var allowPaste = function(e){ e.stopImmediatePropagation(); return true;};document.addEventListener('paste', allowPaste, true);
But you don’t really need to know that. It’s just a simple extension that worked for me with PayPal and Western Union (which a similar extension, , couldn’t fix).
但是您真的不需要知道这一点。 这只是一个适用于PayPal和Western Union的简单扩展程序(类似的扩展程序不能解决)。
Firefox users don’t need to use an extension, but instead can change the browser’s behavior in the configuration settings.
Firefox用户不需要使用扩展名,而是可以在配置设置中更改浏览器的行为。
Head to about:config in Firefox and click the “I’ll be careful, I promise!” button to proceed past the warning.
在Firefox中转到about:config,然后单击“我会保证,我保证!” 按钮以超过警告。
Search for dom.event.clipboardevents.enabled
in the search box. It’ll be the only option once you type in “dom.event.cl”:
在搜索框中搜索dom.event.clipboardevents.enabled
。 输入“ dom.event.cl”后,它将是唯一的选项:
Double-click on the setting to change the value from “true” to “false”.
双击设置,将值从“ true”更改为“ false”。
Now websites can’t mess with your clipboard or block your ability to copy and paste.
现在,网站不再混乱您的剪贴板或阻止您进行复制和粘贴的功能。
It’s terrible that we have to jump through hoops to easily use our long passwords on many sites, but at least it only takes a couple of minutes to fix this frustration.
可怕的是,我们不得不跳过许多小节才能轻松地在许多站点上使用我们的长密码,但是至少只需几分钟就可以解决此问题。
翻译自:
vim 启用右键粘贴
转载地址:http://poawd.baihongyu.com/