Skip to content

Commit a78be93

Browse files
committed
toc
1 parent fc9ee20 commit a78be93

File tree

11 files changed

+266
-18
lines changed

11 files changed

+266
-18
lines changed

Diff for: Algorithm/algorithm-ch.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [时间复杂度](#%E6%97%B6%E9%97%B4%E5%A4%8D%E6%9D%82%E5%BA%A6)
6+
- [位运算](#%E4%BD%8D%E8%BF%90%E7%AE%97)
7+
- [左移 <<](#%E5%B7%A6%E7%A7%BB-)
8+
- [算数右移 >>](#%E7%AE%97%E6%95%B0%E5%8F%B3%E7%A7%BB-)
9+
- [按位操作](#%E6%8C%89%E4%BD%8D%E6%93%8D%E4%BD%9C)
10+
- [排序](#%E6%8E%92%E5%BA%8F)
11+
- [冒泡排序](#%E5%86%92%E6%B3%A1%E6%8E%92%E5%BA%8F)
12+
- [插入排序](#%E6%8F%92%E5%85%A5%E6%8E%92%E5%BA%8F)
13+
- [选择排序](#%E9%80%89%E6%8B%A9%E6%8E%92%E5%BA%8F)
14+
- [归并排序](#%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F)
15+
- [快排](#%E5%BF%AB%E6%8E%92)
16+
- [面试题](#%E9%9D%A2%E8%AF%95%E9%A2%98)
17+
- [堆排序](#%E5%A0%86%E6%8E%92%E5%BA%8F)
18+
- [系统自带排序实现](#%E7%B3%BB%E7%BB%9F%E8%87%AA%E5%B8%A6%E6%8E%92%E5%BA%8F%E5%AE%9E%E7%8E%B0)
19+
- [链表](#%E9%93%BE%E8%A1%A8)
20+
- [反转单向链表](#%E5%8F%8D%E8%BD%AC%E5%8D%95%E5%90%91%E9%93%BE%E8%A1%A8)
21+
- [二叉树的先序,中序,后序遍历](#%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E5%85%88%E5%BA%8F%E4%B8%AD%E5%BA%8F%E5%90%8E%E5%BA%8F%E9%81%8D%E5%8E%86)
22+
- [递归实现](#%E9%80%92%E5%BD%92%E5%AE%9E%E7%8E%B0)
23+
- [非递归实现](#%E9%9D%9E%E9%80%92%E5%BD%92%E5%AE%9E%E7%8E%B0)
24+
- [中序遍历的前驱后继节点](#%E4%B8%AD%E5%BA%8F%E9%81%8D%E5%8E%86%E7%9A%84%E5%89%8D%E9%A9%B1%E5%90%8E%E7%BB%A7%E8%8A%82%E7%82%B9)
25+
- [前驱节点](#%E5%89%8D%E9%A9%B1%E8%8A%82%E7%82%B9)
26+
- [后继节点](#%E5%90%8E%E7%BB%A7%E8%8A%82%E7%82%B9)
27+
- [树的深度](#%E6%A0%91%E7%9A%84%E6%B7%B1%E5%BA%A6)
28+
29+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
30+
131
### 时间复杂度
232

333
通常使用最差的时间复杂度来衡量一个算法的好坏。

Diff for: Browser/browser-ch.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [事件机制](#%E4%BA%8B%E4%BB%B6%E6%9C%BA%E5%88%B6)
6+
- [事件触发三阶段](#%E4%BA%8B%E4%BB%B6%E8%A7%A6%E5%8F%91%E4%B8%89%E9%98%B6%E6%AE%B5)
7+
- [注册事件](#%E6%B3%A8%E5%86%8C%E4%BA%8B%E4%BB%B6)
8+
- [事件代理](#%E4%BA%8B%E4%BB%B6%E4%BB%A3%E7%90%86)
9+
- [跨域](#%E8%B7%A8%E5%9F%9F)
10+
- [JSONP](#jsonp)
11+
- [CORS](#cors)
12+
- [document.domain](#documentdomain)
13+
- [postMessage](#postmessage)
14+
- [Event loop](#event-loop)
15+
- [Node 中的 Event loop](#node-%E4%B8%AD%E7%9A%84-event-loop)
16+
- [timer](#timer)
17+
- [I/O](#io)
18+
- [idle, prepare](#idle-prepare)
19+
- [poll](#poll)
20+
- [check](#check)
21+
- [close callbacks](#close-callbacks)
22+
- [存储](#%E5%AD%98%E5%82%A8)
23+
- [cookie,localStorage,sessionStorage,indexDB](#cookielocalstoragesessionstorageindexdb)
24+
- [Service Worker](#service-worker)
25+
- [渲染机制](#%E6%B8%B2%E6%9F%93%E6%9C%BA%E5%88%B6)
26+
- [Load 和 DOMContentLoaded 区别](#load-%E5%92%8C-domcontentloaded-%E5%8C%BA%E5%88%AB)
27+
- [图层](#%E5%9B%BE%E5%B1%82)
28+
- [重绘(Repaint)和回流(Reflow)](#%E9%87%8D%E7%BB%98repaint%E5%92%8C%E5%9B%9E%E6%B5%81reflow)
29+
- [减少重绘和回流](#%E5%87%8F%E5%B0%91%E9%87%8D%E7%BB%98%E5%92%8C%E5%9B%9E%E6%B5%81)
30+
31+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
32+
133
#### 事件机制
234

335
##### 事件触发三阶段

Diff for: Browser/browser-en.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Event mechanism](#event-mechanism)
6+
- [The three phases of event triggered](#the-three-phases-of-event-triggered)
7+
- [Event Registration](#event-registration)
8+
- [Event Agent](#event-agent)
9+
- [cross domain](#cross-domain)
10+
- [JSONP](#jsonp)
11+
- [CORS](#cors)
12+
- [document.domain](#documentdomain)
13+
- [postMessage](#postmessage)
14+
- [Event loop](#event-loop)
15+
- [Event loop in Node](#event-loop-in-node)
16+
- [timer](#timer)
17+
- [I/O](#io)
18+
- [idle, prepare](#idle-prepare)
19+
- [poll](#poll)
20+
- [check](#check)
21+
- [close callbacks](#close-callbacks)
22+
- [Storage](#storage)
23+
- [cookie,localStorage,sessionStorage,indexDB](#cookielocalstoragesessionstorageindexdb)
24+
- [Service Worker](#service-worker)
25+
- [Rendering mechanism](#rendering-mechanism)
26+
- [Difference between Load and DOMContentLoaded](#difference-between-load-and-domcontentloaded)
27+
- [Layers](#layers)
28+
- [Repaint and Reflow](#repaint-and-reflow)
29+
- [Reduce redrawing and reflow](#reduce-redrawing-and-reflow)
30+
31+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
32+
133
#### Event mechanism
234

335
##### The three phases of event triggered

Diff for: Career/How-to-use-your-time-correctly.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [花时间补基础,读文档](#%E8%8A%B1%E6%97%B6%E9%97%B4%E8%A1%A5%E5%9F%BA%E7%A1%80%E8%AF%BB%E6%96%87%E6%A1%A3)
6+
- [学会搜索](#%E5%AD%A6%E4%BC%9A%E6%90%9C%E7%B4%A2)
7+
- [学点英语](#%E5%AD%A6%E7%82%B9%E8%8B%B1%E8%AF%AD)
8+
- [画个图,想一想再做](#%E7%94%BB%E4%B8%AA%E5%9B%BE%E6%83%B3%E4%B8%80%E6%83%B3%E5%86%8D%E5%81%9A)
9+
- [利用好下班时间学习](#%E5%88%A9%E7%94%A8%E5%A5%BD%E4%B8%8B%E7%8F%AD%E6%97%B6%E9%97%B4%E5%AD%A6%E4%B9%A0)
10+
- [列好 ToDo](#%E5%88%97%E5%A5%BD-todo)
11+
- [反思和整理](#%E5%8F%8D%E6%80%9D%E5%92%8C%E6%95%B4%E7%90%86)
12+
13+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
14+
115
你是否时常会焦虑时间过的很快,没时间学习,本文将会分享一些个人的见解。
216

317
### 花时间补基础,读文档

Diff for: Git/git-en.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Merge with Rebase](#merge-with-rebase)
6+
- [stash](#stash)
7+
- [reflog](#reflog)
8+
- [Reset](#reset)
9+
10+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
11+
112
This is not for rookie, we'll introduce somthing about more advanced.
213
## Merge with Rebase
314
This command shows no difference with the command `merge`.

Diff for: Git/git-zh.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Rebase 合并](#rebase-%E5%90%88%E5%B9%B6)
6+
- [stash](#stash)
7+
- [reflog](#reflog)
8+
- [Reset](#reset)
9+
10+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
11+
112
本文不会介绍 Git 的基本操作,会对一些高级操作进行说明。
213

314
## Rebase 合并

Diff for: JS/JS-ch.md

+32-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,39 @@
1-
- [内置类型](#内置类型)
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [内置类型](#%E5%86%85%E7%BD%AE%E7%B1%BB%E5%9E%8B)
26
- [Typeof](#typeof)
3-
- [类型转换](#类型转换)
4-
- [原型](#原型)
7+
- [类型转换](#%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2)
8+
- [转Boolean](#%E8%BD%ACboolean)
9+
- [对象转基本类型](#%E5%AF%B9%E8%B1%A1%E8%BD%AC%E5%9F%BA%E6%9C%AC%E7%B1%BB%E5%9E%8B)
10+
- [四则运算符](#%E5%9B%9B%E5%88%99%E8%BF%90%E7%AE%97%E7%AC%A6)
11+
- [`==` 操作符](#-%E6%93%8D%E4%BD%9C%E7%AC%A6)
12+
- [比较运算符](#%E6%AF%94%E8%BE%83%E8%BF%90%E7%AE%97%E7%AC%A6)
13+
- [原型](#%E5%8E%9F%E5%9E%8B)
514
- [new](#new)
615
- [instanceof](#instanceof)
716
- [this](#this)
8-
- [执行上下文](#执行上下文)
9-
- [闭包](#闭包)
10-
- [深浅拷贝](#深浅拷贝)
11-
- [模块化](#模块化)
12-
- [节流](#节流)
13-
- [防抖](#防抖)
14-
- [继承](#继承)
15-
- [call, apply, bind 区别](#call, apply, bind 区别)
17+
- [执行上下文](#%E6%89%A7%E8%A1%8C%E4%B8%8A%E4%B8%8B%E6%96%87)
18+
- [闭包](#%E9%97%AD%E5%8C%85)
19+
- [深浅拷贝](#%E6%B7%B1%E6%B5%85%E6%8B%B7%E8%B4%9D)
20+
- [浅拷贝](#%E6%B5%85%E6%8B%B7%E8%B4%9D)
21+
- [深拷贝](#%E6%B7%B1%E6%8B%B7%E8%B4%9D)
22+
- [模块化](#%E6%A8%A1%E5%9D%97%E5%8C%96)
23+
- [CommonJS](#commonjs)
24+
- [ADM](#adm)
25+
- [防抖](#%E9%98%B2%E6%8A%96)
26+
- [节流](#%E8%8A%82%E6%B5%81)
27+
- [继承](#%E7%BB%A7%E6%89%BF)
28+
- [call, apply, bind 区别](#call-apply-bind-%E5%8C%BA%E5%88%AB)
29+
- [模拟实现 call 和 apply](#%E6%A8%A1%E6%8B%9F%E5%AE%9E%E7%8E%B0-call-%E5%92%8C-apply)
30+
- [Promise 实现](#promise-%E5%AE%9E%E7%8E%B0)
31+
- [Generator 实现](#generator-%E5%AE%9E%E7%8E%B0)
32+
- [Map、FlapMap 和 Reduce](#mapflapmap-%E5%92%8C-reduce)
33+
- [async 和 await](#async-%E5%92%8C-await)
34+
- [Proxy](#proxy)
35+
36+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
1637

1738
#### 内置类型
1839

Diff for: JS/JS-en.md

+20-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
1-
- [Built-in Types](#Built-in Types)
2-
- [Typeof](#Typeof)
3-
- [New](#New)
4-
- [This](#This)
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Built-in Types](#built-in-types)
6+
- [Typeof](#typeof)
7+
- [New](#new)
8+
- [This](#this)
59
- [instanceof](#instanceof)
610
- [scope](#scope)
7-
- [Prototypes](#Prototypes)
11+
- [Closure](#closure)
12+
- [Prototypes](#prototypes)
13+
- [inheritance](#inheritance)
14+
- [Deep and Shallow Copy](#deep-and-shallow-copy)
15+
- [shallow copy](#shallow-copy)
16+
- [deep copy](#deep-copy)
17+
- [the differences between call, apply, bind](#the-differences-between-call-apply-bind)
18+
- [simulation to implement `call` and `apply`](#simulation-to-implement---call-and--apply)
19+
- [Promise implementation](#promise-implementation)
20+
- [Throttle](#throttle)
21+
22+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
823

924
#### Built-in Types
1025
JavaScript defines seven built-in types, which can be broken down into two categories: `Primitive Type` and `Object`.

Diff for: Network/Network-zh.md

+33-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
1-
# 网络
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [网络](#%E7%BD%91%E7%BB%9C)
6+
- [UDP](#udp)
7+
- [面向报文](#%E9%9D%A2%E5%90%91%E6%8A%A5%E6%96%87)
8+
- [不可靠性](#%E4%B8%8D%E5%8F%AF%E9%9D%A0%E6%80%A7)
9+
- [高效](#%E9%AB%98%E6%95%88)
10+
- [传输方式](#%E4%BC%A0%E8%BE%93%E6%96%B9%E5%BC%8F)
11+
- [TCP](#tcp)
12+
- [头部](#%E5%A4%B4%E9%83%A8)
13+
- [状态机](#%E7%8A%B6%E6%80%81%E6%9C%BA)
14+
- [建立连接三次握手](#%E5%BB%BA%E7%AB%8B%E8%BF%9E%E6%8E%A5%E4%B8%89%E6%AC%A1%E6%8F%A1%E6%89%8B)
15+
- [断开链接四次握手](#%E6%96%AD%E5%BC%80%E9%93%BE%E6%8E%A5%E5%9B%9B%E6%AC%A1%E6%8F%A1%E6%89%8B)
16+
- [ARQ 协议](#arq-%E5%8D%8F%E8%AE%AE)
17+
- [停止等待 ARQ](#%E5%81%9C%E6%AD%A2%E7%AD%89%E5%BE%85-arq)
18+
- [连续 ARQ](#%E8%BF%9E%E7%BB%AD-arq)
19+
- [累计确认](#%E7%B4%AF%E8%AE%A1%E7%A1%AE%E8%AE%A4)
20+
- [滑动窗口](#%E6%BB%91%E5%8A%A8%E7%AA%97%E5%8F%A3)
21+
- [Zero 窗口](#zero-%E7%AA%97%E5%8F%A3)
22+
- [拥塞处理](#%E6%8B%A5%E5%A1%9E%E5%A4%84%E7%90%86)
23+
- [慢开始算法](#%E6%85%A2%E5%BC%80%E5%A7%8B%E7%AE%97%E6%B3%95)
24+
- [拥塞避免算法](#%E6%8B%A5%E5%A1%9E%E9%81%BF%E5%85%8D%E7%AE%97%E6%B3%95)
25+
- [快速重传](#%E5%BF%AB%E9%80%9F%E9%87%8D%E4%BC%A0)
26+
- [TCP New Ren 改进后的快恢复](#tcp-new-ren-%E6%94%B9%E8%BF%9B%E5%90%8E%E7%9A%84%E5%BF%AB%E6%81%A2%E5%A4%8D)
27+
- [HTTP](#http)
28+
- [Post 和 Get 的区别](#post-%E5%92%8C-get-%E7%9A%84%E5%8C%BA%E5%88%AB)
29+
- [常见状态码](#%E5%B8%B8%E8%A7%81%E7%8A%B6%E6%80%81%E7%A0%81)
30+
- [HTTP 首部](#http-%E9%A6%96%E9%83%A8)
31+
32+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
233

3-
[TOC]
34+
# 网络
435

536
## UDP
637

Diff for: Performance/performance-ch.md

+31
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [网络相关](#%E7%BD%91%E7%BB%9C%E7%9B%B8%E5%85%B3)
6+
- [DNS 预解析](#dns-%E9%A2%84%E8%A7%A3%E6%9E%90)
7+
- [缓存](#%E7%BC%93%E5%AD%98)
8+
- [强缓存](#%E5%BC%BA%E7%BC%93%E5%AD%98)
9+
- [协商缓存](#%E5%8D%8F%E5%95%86%E7%BC%93%E5%AD%98)
10+
- [Last-Modified 和 If-Modified-Since](#last-modified-%E5%92%8C-if-modified-since)
11+
- [ETag 和 If-None-Match](#etag-%E5%92%8C-if-none-match)
12+
- [选择合适的缓存策略](#%E9%80%89%E6%8B%A9%E5%90%88%E9%80%82%E7%9A%84%E7%BC%93%E5%AD%98%E7%AD%96%E7%95%A5)
13+
- [使用 HTTP / 2.0](#%E4%BD%BF%E7%94%A8-http--20)
14+
- [预加载](#%E9%A2%84%E5%8A%A0%E8%BD%BD)
15+
- [预渲染](#%E9%A2%84%E6%B8%B2%E6%9F%93)
16+
- [优化渲染过程](#%E4%BC%98%E5%8C%96%E6%B8%B2%E6%9F%93%E8%BF%87%E7%A8%8B)
17+
- [懒执行](#%E6%87%92%E6%89%A7%E8%A1%8C)
18+
- [懒加载](#%E6%87%92%E5%8A%A0%E8%BD%BD)
19+
- [文件优化](#%E6%96%87%E4%BB%B6%E4%BC%98%E5%8C%96)
20+
- [图片优化](#%E5%9B%BE%E7%89%87%E4%BC%98%E5%8C%96)
21+
- [计算图片大小](#%E8%AE%A1%E7%AE%97%E5%9B%BE%E7%89%87%E5%A4%A7%E5%B0%8F)
22+
- [图片加载优化](#%E5%9B%BE%E7%89%87%E5%8A%A0%E8%BD%BD%E4%BC%98%E5%8C%96)
23+
- [其他文件优化](#%E5%85%B6%E4%BB%96%E6%96%87%E4%BB%B6%E4%BC%98%E5%8C%96)
24+
- [CDN](#cdn)
25+
- [其他](#%E5%85%B6%E4%BB%96)
26+
- [使用 Webpack 优化项目](#%E4%BD%BF%E7%94%A8-webpack-%E4%BC%98%E5%8C%96%E9%A1%B9%E7%9B%AE)
27+
- [监控](#%E7%9B%91%E6%8E%A7)
28+
- [面试题](#%E9%9D%A2%E8%AF%95%E9%A2%98)
29+
30+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
31+
132
### 网络相关
233

334
#### DNS 预解析

Diff for: Safety/safety-cn.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [XSS](#xss)
6+
- [如何攻击](#%E5%A6%82%E4%BD%95%E6%94%BB%E5%87%BB)
7+
- [如何防御](#%E5%A6%82%E4%BD%95%E9%98%B2%E5%BE%A1)
8+
- [CSP](#csp)
9+
- [CSRF](#csrf)
10+
- [如何攻击](#%E5%A6%82%E4%BD%95%E6%94%BB%E5%87%BB-1)
11+
- [如何防御](#%E5%A6%82%E4%BD%95%E9%98%B2%E5%BE%A1-1)
12+
- [SameSite](#samesite)
13+
- [验证 Referer](#%E9%AA%8C%E8%AF%81-referer)
14+
- [Token](#token)
15+
- [密码安全](#%E5%AF%86%E7%A0%81%E5%AE%89%E5%85%A8)
16+
- [加盐](#%E5%8A%A0%E7%9B%90)
17+
- [前端加密](#%E5%89%8D%E7%AB%AF%E5%8A%A0%E5%AF%86)
18+
19+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
20+
121
#### XSS
222

323
> **跨网站指令码**(英语:Cross-site scripting,通常简称为:XSS)是一种网站应用程式的安全漏洞攻击,是[代码注入](https://www.wikiwand.com/zh-hans/%E4%BB%A3%E7%A2%BC%E6%B3%A8%E5%85%A5)的一种。它允许恶意使用者将程式码注入到网页上,其他使用者在观看网页时就会受到影响。这类攻击通常包含了 HTML 以及使用者端脚本语言。

0 commit comments

Comments
 (0)