Skip to content

Commit f3c8118

Browse files
committed
feat: 为所有页面添加 Google Analytics 跟踪代码\n\n- 在所有HTML页面的head标签中添加Google Analytics代码\n- 使用统一的跟踪ID: G-QXG8EZ2W5B\n- 包括主页、测试用例列表页和所有测试用例页面
1 parent 6870019 commit f3c8118

File tree

12 files changed

+118
-0
lines changed

12 files changed

+118
-0
lines changed

cases/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>测试用例列表 - JavaScript 调试绕过测试平台</title>
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag(){dataLayer.push(arguments);}
12+
gtag('js', new Date());
13+
14+
gtag('config', 'G-QXG8EZ2W5B');
15+
</script>
716
<link rel="stylesheet" href="../styles/main.css">
817
<link rel="preconnect" href="https://fonts.googleapis.com">
918
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>JavaScript 调试绕过测试平台</title>
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag(){dataLayer.push(arguments);}
12+
gtag('js', new Date());
13+
14+
gtag('config', 'G-QXG8EZ2W5B');
15+
</script>
716
<link rel="stylesheet" href="styles/main.css">
817
<link rel="preconnect" href="https://fonts.googleapis.com">
918
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

test-cases/execute-debugger-patterns/Function.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>Function 构造函数测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat Goat</title>

test-cases/execute-debugger-patterns/[].constructor.constructor('debugger')().html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>数组构造函数测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat Goat</title>

test-cases/execute-debugger-patterns/eval.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>eval 执行测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat</title>

test-cases/execute-debugger-patterns/misc.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>其他执行方式测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat</title>

test-cases/execute-debugger-patterns/setInterval-002.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>setInterval 高级测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat Goat</title>

test-cases/execute-debugger-patterns/setInterval.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>setInterval 基础测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat Goat</title>

test-cases/execute-debugger-patterns/{}['constructor']('debugger')());.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>对象构造函数测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat</title>

test-cases/execute-debugger-patterns/{}['constructor']('debugger')();.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QXG8EZ2W5B"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-QXG8EZ2W5B');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
616
<title>对象构造函数测试 - JavaScript Debugger Bypass Goat Debugger Bypass Goat</title>

0 commit comments

Comments
 (0)