word

页面

mouse snow

2014年1月9日星期四

鼠标效果(文字绕着鼠标转)(message circle your cursor)

在这里,给大家介绍一个鼠标效果~~~文字绕着鼠标转(message circle your cursor)

Description: Have a textual message circle your mouse cursor and follow it around using this DHTML script.
简介:文字会跟着你的鼠标,而且会绕着转,这是使用DHTML。


English:Design -> Add A Gadget -> HTML/JavaScript
华语: 布局 -> 添加小工具 -> HTML/JavaScript

复制(ctrl + c)以下的代码放进去
<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
/* Optional - DO NOT SET FONT-SIZE HERE, SET IT IN THE SCRIPT */
font-style: italic;
font-weight: bold;
font-family: 'comic sans ms', verdana, arial;
color: #000;
/* End Optional */

/* Start Required - Do Not Edit */
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}
#outerCircleText div {position: relative;}
#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
/* End Required */
/* End Circle Text Styles */
</style>
<script type="text/javascript">

;(function(){

// Your message here (QUOTED STRING)
var msg = "你的文本/Your Text Here";

/* THE REST OF THE EDITABLE VALUES BELOW ARE ALL UNQUOTED NUMBERS */

// Set font's style size for calculating dimensions
// Set to number of desired pixels font size (decimal and negative numbers not allowed)
var size = 24;

// Set both to 1 for plain circle, set one of them to 2 for oval
// Other numbers & decimals can have interesting effects, keep these low (0 to 3)
var circleY = 0.75; var circleX = 2;

// The larger this divisor, the smaller the spaces between letters
// (decimals allowed, not negative numbers)
var letter_spacing = 5;

// The larger this multiplier, the bigger the circle/oval
// (decimals allowed, not negative numbers, some rounding is applied)
var diameter = 10;

// Rotation speed, set it negative if you want it to spin clockwise (decimals allowed)
var rotation = 0.4;

// This is not the rotation speed, its the reaction speed, keep low!
// Set this to 1 or a decimal less than one (decimals allowed, not negative numbers)
var speed = 0.3;

////////////////////// Stop Editing //////////////////////

if (!window.addEventListener && !window.attachEvent || !document.createElement) return;

msg = msg.split('');
var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,
ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],
o = document.createElement('div'), oi = document.createElement('div'),
b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body,

mouse = function(e){
e = e || window.event;
ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position
xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position
},

makecircle = function(){ // rotation/positioning
if(init.nopy){
o.style.top = (b || document.body).scrollTop + 'px';
o.style.left = (b || document.body).scrollLeft + 'px';
};
currStep -= rotation;
for (var d, i = n; i > -1; --i){ // makes the circle
d = document.getElementById('iemsg' + i).style;
d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px';
d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';
};
},

drag = function(){ // makes the resistance
y[0] = Y[0] += (ymouse - Y[0]) * speed;
x[0] = X[0] += (xmouse - 20 - X[0]) * speed;
for (var i = n; i > 0; --i){
y[i] = Y[i] += (y[i-1] - Y[i]) * speed;
x[i] = X[i] += (x[i-1] - X[i]) * speed;
};
makecircle();
},

init = function(){ // appends message divs, & sets initial values for positioning arrays
if(!isNaN(window.pageYOffset)){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
} else init.nopy = true;
for (var d, i = n; i > -1; --i){
d = document.createElement('div'); d.id = 'iemsg' + i;
d.style.height = d.style.width = a + 'px';
d.appendChild(document.createTextNode(msg[i]));
oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0;
};
o.appendChild(oi); document.body.appendChild(o);
setInterval(drag, 25);
},

ascroll = function(){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
window.removeEventListener('scroll', ascroll, false);
};

o.id = 'outerCircleText'; o.style.fontSize = size + 'px';

if (window.addEventListener){
window.addEventListener('load', init, false);
document.addEventListener('mouseover', mouse, false);
document.addEventListener('mousemove', mouse, false);
if (/Apple/.test(navigator.vendor))
window.addEventListener('scroll', ascroll, false);
}
else if (window.attachEvent){
window.attachEvent('onload', init);
document.attachEvent('onmousemove', mouse);
};

})();

</script>
Red color = can change it,
红色 = 可改的,

你可以只改这两样东西:
var msg = "你的文本/Your Text Here"; ,把你的文本/Your Text Here改成你要的字。
var size = 24; ,把24改成你要的字体大小。
color: #000; ,把000改成你要的颜色(我的博客的右边有颜色代码)。

Another cursor effect:
  1. Custome cursor script (Crosshair mouse cursor) 
  2. Image Trail Script 
  3. Comet Trail 
  4. Kissing trail

2014年1月8日星期三

How to short the long URL?

Here, I want to introduce this 3 URL shortener provider,
  1. Google URL shortener
  2. TinyURL
  3. Bitly

Each of them also can help you to short the URL you want.

Before the URL is:
https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1365487341&rver=6.1.6206.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&lc=1033&id=64855&mkt=en-us&cbcxt=mai&snsc=1

After use the Google URL shortener:
http://goo.gl/Gyu6ib

After use the TinyURL:
http://tinyurl.com/l9oyfdy

After use the Bitly:
bit.ly/1ijeDGP

All of them are very easy to use, so no tutorial :) 
Which one you like?

2013年10月25日星期五

VBS code samples

how to create a vbs file? click the link below

http://miraclewong.blogspot.com/2013/05/how-to-create-vbscript-file.html


Sample:

Program Opener

code:

do
set a = createobject("wscript.shell")
b = inputbox("Program/Task Desired to open:")
c = inputbox("Times to open Program/Task:")
if not isnumeric (c) then
wscript.quit
end if
for I = 1 to (c)
set a = wscript.createobject("wscript.shell")
a.run (b)
next
if b = ("EXIT") then
wscript.quit
end if
loop

Computer Speak

code:

Dim userinputuserinput
userinputuserinput = inputbox("Type below to hear your computer speak")
set sapi = wscript.createobject("SAPI.Spvoice")

Sapi.speak userinputuserinput

Spamboat

code:

set shell = createobject ("wscript.shell")

strtext = inputbox ("Write down your message you like to spam")
strtimes = inputbox ("How many times do you like to spam?")
strspeed = inputbox ("How fast do you like to spam? (1000 = one per sec, 100 = 10 per sec etc)")
strtimeneed = inputbox ("How many SECONDS do you need to get to your victems input box?")

If not isnumeric (strtimes & strspeed & strtimeneed) then
msgbox "You entered something else then a number on Times, Speed and/or Time need. shutting down"
wscript.quit
End If
strtimeneed2 = strtimeneed * 1000
do
msgbox "You have " & strtimeneed & " seconds to get to your input area where you are going to spam."
wscript.sleep strtimeneed2
shell.sendkeys ("Spambot activated" & "{enter}")
for i=0 to strtimes
shell.sendkeys (strtext & "{enter}")
wscript.sleep strspeed
Next
shell.sendkeys ("Spambot deactivated" & "{enter}")
wscript.sleep strspeed * strtimes / 10
returnvalue=MsgBox ("Want to spam again with the same info?",36)
If returnvalue=6 Then
Msgbox "Ok Spambot will activate again"
End If
If returnvalue=7 Then
msgbox "Shutting down"
wscript.quit
End IF

loop

Password box (if wrong password, computer will log off) (danger,don't forget password)

(Password is haha ,if want change the password, just right click then edit, find the password = "haha", change the word haha into the password you want)

code:

password = "haha"
strComputer = "."
strExe = "taskkill /F /IM explorer.exe"
' Connect to WMI
set objWMIService = getobject("winmgmts://"_
& strComputer & "/root/cimv2")

' Obtain the Win32_Process class of object.
Set objProcess = objWMIService.Get("Win32_Process")
Set objProgram = objProcess.Methods_( _
"Create").InParameters.SpawnInstance_
objProgram.CommandLine = strExe

'Execute the program now at the command line.
Set strShell = objWMIService.ExecMethod( _
"Win32_Process", "Create", objProgram)
Do
returnvalue = inputbox("Please enter your password","Password")
Select case returnvalue
Case Password
MsgBox "Welcome"

strComputer = "."
strExe = "explorer.exe"
' Connect to WMI
set objWMIService = getobject("winmgmts://"_
& strComputer & "/root/cimv2")

' Obtain the Win32_Process class of object.
Set objProcess = objWMIService.Get("Win32_Process")
Set objProgram = objProcess.Methods_( _
"Create").InParameters.SpawnInstance_
objProgram.CommandLine = strExe

'Execute the program now at the command line.
Set strShell = objWMIService.ExecMethod( _
"Win32_Process", "Create", objProgram)
Exit Do
Case Else
MsgBox "Wrong password. Now loging off.",0,"Wrong Password"
strComputer = "."
strExe = "shutdown.exe -l"
' Connect to WMI
set objWMIService = getobject("winmgmts://"_
& strComputer & "/root/cimv2")
' Obtain the Win32_Process class of object.
Set objProcess = objWMIService.Get("Win32_Process")
Set objProgram = objProcess.Methods_( _
"Create").InParameters.SpawnInstance_
objProgram.CommandLine = strExe
'Execute the program now at the command line.
Set strShell = objWMIService.ExecMethod( _
"Win32_Process", "Create", objProgram)
WScript.echo "Created: " & strExe & " on " & strComputer
WSCript.Quit
End select

Loop

Password Box (danger Don't forget password)

(Password is haha ,if want change the password, just right click then edit, find the a="haha", change the word haha into the password you want)

code:

a=inputbox("Password:")
if a="haha" then
msgbox"logged in!"
else
msgbox"Wrong Password!"
Set WshShell = WScript.CreateObject ("WScript.Shell")
WshShell.Run ("Password.vbs")

end if

2013年8月9日星期五

Internet Download Manager (IDM) (Newest) + Crack

Thanks M U F T A K i S so much :)
You always provide us the best crack
Click the link below to get the newest Internet Download Manager (IDM) + Crack
http://muftakisworld.blogspot.my/

2013年7月15日星期一

(Wetransfer) Free files transfer 2GB

wetransfer let people transfer their files (up to 2GB) to other people without any charge, register and software installed. The files (you transfer) will save in wetransfer for 14 days (2 weeks), therefore don't worry other people download your files.

Website :         www.wetransfer.com
File size :         2GB
File types :       supported any files
Deletion time : 14 days (2 weeks)
Registration :    no need register

How to use it?

go www.wetransfer.com
-  click " add files ", select the file you want to send, can up to 2GB
-  click the circle shape button at the bottom side to choose transfer by email or create a download link
-  click " Friend's email ", enter the receiver's email, can up to 20 people
-  click " your email ", enter your email
-  click " Message ", add a message here along with your transfer
-  click " Transfer "
Done :)

back to top