This is a SCRIPT-8 cassette.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Generated by AutoGUI 2.6.2 | |
#SingleInstance Force | |
#NoEnv | |
SetWorkingDir %A_ScriptDir% | |
SetBatchLines -1 | |
Gui Add, Progress, x10 y20 w200 h50 cbFF0000 vBut, 100 | |
Gui Add, Button, w200 gBut1, 1 min | |
Gui Add, Button, w200 gBut5, 5 min | |
Gui Add, Button, w200 gBut10, 10 min |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// при копировании добавляем URL | |
function nsaddlink() { | |
if (typeof window.getSelection == "undefined") return; //только для тех кто умеет копировать | |
var selection = window.getSelection(), | |
newdiv = document.createElement('div'), | |
newa = document.createElement('a'); | |
newa.style.position=newdiv.style.position = 'absolute'; //скрываем служебный блок и ссылку в скопированном тексте | |
newdiv.style.left=newa.style.left='-9999px'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function nsaddlink() { | |
if (typeof window.getSelection == "undefined") return; //только для тех кто умеет копировать | |
var selection = window.getSelection(), | |
newdiv = document.createElement('div'), | |
newa = document.createElement('a'); | |
newa.style.position=newdiv.style.position = 'absolute'; //скрываем служебный блок и ссылку в скопированном тексте | |
newdiv.style.left=newa.style.left='-9999px'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// при копировании добавляем URL | |
function nsaddlink() { | |
if (typeof window.getSelection == "undefined") return; //только для тех кто умеет копировать | |
var selection = window.getSelection(), | |
newdiv = document.createElement('div'), | |
newa = document.createElement('a'); | |
newa.style.position=newdiv.style.position = 'absolute'; //скрываем служебный блок и ссылку в скопированном тексте | |
newdiv.style.left=newa.style.left='-9999px'; |