要達到這個效果需要IE用戶開啟二項設定:
- ie8 and ie9 必需請用戶開啟允許使用ActiveXObject
工具->網際網路選項->安全性->自訂等級->ActiveX控制項與外掛程式->將未標示成安全的ActiveX控制項初始化並執行指令碼設定為提示(安全性考量不要設為啟用)
- ie9必需再設定允許上傳檔案存取本機路徑(不然file upload會顯示fakepath)
要達到這個效果需要IE用戶開啟二項設定:
Name of the Character | Character |
---|---|
at sign | @ |
percent sign | % |
plus sign | + |
backslash | \ |
slash | / |
single quotation mark | ' |
exclamation point | ! |
number sign | # |
dollar sign | $ |
caret | ^ |
question mark | ? |
colon | : |
comma | . |
left parenthesis | ( |
right parenthesis | ) |
left brace | { |
right brace | } |
left bracket | [ |
right bracket | ] |
tilde | ~ |
grave accent This character is also known as the backquote character. | The grave accent cannot be reproduced in this document. |
hyphen | - |
underscore | _ |
文字類型 | 英文 | 數字 | 中文 | Unescaped characters | Reserved characters | Score | |||||||||||||||||||||
原始字串 | A | Z | a | z | 0 | 1 | 堃 | - | _ | . | ! | ~ | * | ' | ( | ) | ; | , | / | ? | : | @ | & | = | + | $ | # |
escape後 | A | Z | a | z | 0 | 1 | %u5803 | - | _ | . | %21 | %7E | * | %27 | %28 | %29 | %3B | %2C | / | %3F | %3A | @ | %26 | %3D | + | %24 | %23 |
encodeURI後 | A | Z | a | z | 0 | 1 | %E5%A0%83 | - | _ | . | ! | ~ | * | ' | ( | ) | ; | , | / | ? | : | @ | & | = | + | $ | # |
encodeURI Component後 | A | Z | a | z | 0 | 1 | %E5%A0%83 | - | _ | . | ! | ~ | * | ' | ( | ) | %3B | %2C | %2F | %3F | %3A | %40 | %26 | %3D | %2B | %24 | %2 |