你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/427575-selection-and-copying-restorer-universal,源站連結 點此以跳轉。
Enables select, right-click, copy and drag on pages that disable them. Additional Feature: Long Press Text Selection
当前为
.preventDefault() function for 'copy', 'contextmenu', 'select', 'selectstart', 'dragstart', 'beforecopy' eventsreturn false in HTML attributes 'oncopy', 'oncontextmenu', 'onselect', 'onselectstart', 'ondragstart', 'onbeforecopy'returnValue in javascript coding for 'copy', 'contextmenu', 'select', 'selectstart', 'dragstart', 'beforecopy' eventsalert() for mouse right click.preventDefault() function and "returnValue=false" for 'Ctrl-C' in 'mousedown' & 'mouseup' events if there is text selectiontext/plain is set.console.log(...) if it is also a non-empty string
Alt-click; the cursor will change from "pointer" to "text", and the selection shall be in pink color.
(增強內置Alt文字選取 - 針對超鏈結及按鈕文字,按Alt+Click後,鼠標會由"pointer"變成了"text",並且選取區變成粉紅色。)
<input Value="test" onSelect="blur();">