// ==UserScript==
// @name FileBase.to
// @description 自動抓取下載連結
// @include http://filebase.to/files/*
// ==/UserScript==
if (document.getElementById('dl_free3'))
document.forms[0].submit();
if (document.getElementById('captcha'))
document.forms[0].submit();
if (document.getElementsByTagName('form')[0].action.indexOf('#') == -1)
prompt('Done.', document.getElementsByTagName('form')[0].action);
標籤
.net
(
17
)
工作
(
29
)
面試
(
2
)
筆記
(
2
)
筆記倉庫
(
1
)
嘸蝦米
(
2
)
繪圖
(
1
)
Add-on
(
4
)
Android
(
39
)
AngularJS
(
1
)
ASP.NET
(
14
)
AutoHotKey
(
20
)
AutoIt
(
3
)
batch
(
24
)
Blogger Hack
(
3
)
Bookmarklet
(
18
)
C#
(
16
)
Chrome
(
1
)
cmd
(
22
)
CSS
(
6
)
CSS3
(
6
)
D855
(
1
)
DOM
(
17
)
DragOnIt
(
5
)
EmEditor
(
1
)
English
(
1
)
ffmpeg
(
1
)
Firefox
(
25
)
flo
(
2
)
GIMP
(
1
)
gist
(
144
)
Graphviz
(
1
)
hardware
(
1
)
HDD
(
1
)
HTML5
(
4
)
i18n
(
1
)
IIS
(
4
)
ImageMagick
(
5
)
Java
(
1
)
JavaScript
(
92
)
jhead
(
1
)
jQuery
(
6
)
JSBin
(
19
)
jsFiddle
(
4
)
JSON
(
1
)
JustDoubleClick
(
1
)
Kindle
(
1
)
MSSQL
(
26
)
MySQL
(
2
)
Network
(
1
)
node.js
(
12
)
php
(
1
)
PowerShell
(
6
)
ramdisk
(
1
)
Reg
(
3
)
RegExp
(
3
)
rpi3
(
3
)
SJ2000
(
1
)
SQLite
(
3
)
SSD
(
1
)
Stylish
(
1
)
SublimeText
(
2
)
tips
(
6
)
userChrome.js
(
3
)
userscript
(
40
)
VB.net
(
9
)
VBScript
(
2
)
VisualStudio
(
2
)
Vue.js
(
3
)
Win
(
5
)
Win2008
(
1
)
Win7
(
29
)
WinAPI
(
1
)
Winform
(
1
)
WinXP
(
3
)
XML
(
1
)
FileBase.to Skip
標籤:
userscript
Click Rex
標籤:
AutoHotKey
/****************************************************
* Copyright (c) 2010, NKid. All Rights Reserved.
* PROJECT:Click Rex
* DESCRIPTION:全自動背景傳送MSN來電震動
* VERSION:2
****************************************************/
#x:: ;按下win + x執行程式
SetCapsLockState, off ;把CapsLock設為關
TrayTip, Click Rex, Turn On, 1 ;顯示開始訊息
Loop
{
;按下CapsLock即停止程式
if GetKeyState("CapsLock", "T") {
TrayTip, Click Rex, Turn Off, 1
SetCapsLockState, off
Break
}
SetTitleMatchMode,2
ControlClick ,x130 y487,rexob7w
;Click ;按左鍵
;Send, ...{enter}
Sleep 10
}
使用Bookmarklet開啟新視窗並寫入原始碼
標籤:
Bookmarklet
- 把所要寫入的原始碼進行Compress HTML
- 壓縮後,把HTML屬性的雙引號(")取代成
\" - 接著,再把javascript裡的換行符號(\n)取代成
\\n - 補充,javascript裡的反斜線(\)取代成
\\ - 置入here的部份
var n = window.open("", "").document, c;
c = "here";
n.open();
n.write(c);
n.close(); - 取代完成後,把上述步驟所有程式碼使用Bookmarklet Builder製成Bookmarklet
Note:
- HTML使用
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
</body>
</html> - javascript撰寫部份使用單引號
- 步驟2、3、4皆在處理跳脫字元,可寫成巨集
Multiple commands in cmd
標籤:
cmd
| 字元 | 語法 | 定義 |
|---|---|---|
| & [...] | Command1 &Command2 | 在一個命令列上,用來分割多個命令。Cmd.exe 會執行第一個命令,然後,再執行第二個命令。 |
| && [...] | Command1 &&Command2 | 唯有 && 符號前面的命令成功時,才執行該符號之後的命令。Cmd.exe 會執行第一個命令,並且只有當第一個命令完全成功時,才會執行第二個命令。 |
| || [...] | Command1 || Command2 | 唯有 || 前的命令失敗時,才執行 || 之後的命令。Cmd.exe 會執行第一個命令,並且只有當第一個命令未成功完成 (接收到大於 0 的錯誤字碼) 時,才執行第二個命令。 |
| ( ) [...] | (Command1 & Command2) | 用於組合或巢狀處理多個命令。 |
| ; 或 , | Command1 Parameter1;Parameter2 | 用於分割命令參數。 |
命令殼層概觀
Solved: multiple commands in CMD?
How to Group Multiple Commands in cmd.exe
變更Firefox介面樣式 (userChrome.css)
標籤:
Firefox
- 開啟Profile\chrome\
- 複製userChrome-example.css為userChrome.css
- 鍵入
*{font-family:Microsoft JhengHei !important; font-size: 1em !important;}
/*拿掉功能表按鈕預設字串*/
#appmenu-button .button-text {display:none !important;}
/*功能表按鈕換上自訂字串*/
#appmenu-button .button-box .box-inherit:before {content: "NKid";color: white;}
/*拿掉功能表按鈕箭頭符號*/
#appmenu-button .button-menu-dropmarker {display: none !important;} - 重新啟動Firefox
訂閱:
文章
(
Atom
)