Attachment 'vivi1.1.user.js'

Download

   1 // ==/UserScript==
   2 /*
   3 * Author:Breeze
   4 * E-mail:[email protected]
   5 */
   6 
   7 var div = document.createElement("DIV");
   8 div.style.position = "fixed";
   9 div.style.right = "0px";
  10 div.style.bottom = "0px";
  11 div.style.visibility = "visible";
  12 div.style.width = "16px";
  13 div.style.height = "16px";
  14 div.style.cursor = "hand";
  15 div.style.cursor = "pointer";
  16 div.innerHTML = "<img src='http://image2.sina.com.cn/pfp/iweb/vivi.gif'>"
  17 div.onclick = function()
  18 {
  19 	add_collect();
  20 }
  21 document.documentElement.appendChild(div);
  22 
  23 function add_collect()
  24 {
  25 	d=document;
  26 	t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');
  27 	void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=vivi.sina.com.cn&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));
  28 	vivi.focus();
  29 }

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2021-05-11 08:52:09, 36.0 KB) [[attachment:Greasemap.gif]]
  • [get | view] (2021-05-11 08:52:09, 5.7 KB) [[attachment:Greasemonkey_mp3.gif]]
  • [get | view] (2021-05-11 08:52:09, 0.9 KB) [[attachment:TexttoBloglines0.1.user.js]]
  • [get | view] (2021-05-11 08:52:09, 0.1 KB) [[attachment:hello.user.js]]
  • [get | view] (2021-05-11 08:52:09, 11.9 KB) [[attachment:vivi.scr1.gif]]
  • [get | view] (2021-05-11 08:52:09, 0.9 KB) [[attachment:vivi.user.js]]
  • [get | view] (2021-05-11 08:52:09, 0.9 KB) [[attachment:vivi1.1.user.js]]
  • [get | view] (2021-05-11 08:52:09, 4.7 KB) [[attachment:vivi1.1_ff_xpi]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.