Dyskusje » Propozycje stworzenia skryptu/stylu
[Solved] Filmix (filmix.me) Ctrl+C remove Trash when copy
This is reqest to remove trash information when you copy text by CTRL+C
// ==UserScript==
// @name Prevent Ctrl-C interception
// @match https://filmix.me/*
// @run-at document-start
// ==/UserScript==
document.addEventListener('keydown', function(e) {
if (e.keyCode == 67 /* C */ && e.ctrlKey && !e.altKey && !e.metaKey && !e.shiftKey) {
e.stopPropagation();
e.stopImmediatePropagation();
}
}, true);
Thank you! working perfect!
[Solved] Filmix (filmix.me) Ctrl+C remove Trash when copy
Script Reqest:
Filmix (filmix.me) Ctrl+C remove Trash information when copy by CTRL+C
Filmix (filmix.me) Ctrl+C удалить информацию при копировании через CTRL+C "%s подробнее: https://filmix.me/"
Script:
https://filmix.me/templates/Filmix/media/js/site.js?v2.1.2
$(document).keydown(function(e) {
if (dle_group !== 1 && dle_group !== 2) {
if (ctrlDown && e.keyCode === cKey) {
var selText = '', newSel = '', sel = '';
var options = {
htmlcopytxt: '
Смотреть подробнее: ' + location.href + '',
min_length: 5,
addcopyfirst: false
};