-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.js
90 lines (73 loc) · 1.55 KB
/
common.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
function resetIcon() {
return browser.browserAction.setIcon({path: "icons/debugmenu.png"});
}
function clearDebugCookies(url) {
browser.cookies.remove({
url: url,
name: "debug_host"
});
browser.cookies.remove({
url: url,
name: "debug_port"
});
browser.cookies.remove({
url: url,
name: "debug_fastfile"
});
browser.cookies.remove({
url: url,
name: "start_debug"
});
browser.cookies.remove({
url: url,
name: "send_debug_header"
});
browser.cookies.remove({
url: url,
name: "send_sess_end"
});
browser.cookies.remove({
url: url,
name: "debug_jit"
});
browser.cookies.remove({
url: url,
name: "debug_stop"
});
browser.cookies.remove({
url: url,
name: "use_remote"
});
browser.cookies.remove({
url: url,
name: "no_remote"
});
browser.cookies.remove({
url: url,
name: "use_ssl"
});
browser.cookies.remove({
url: url,
name: "start_profile"
});
browser.cookies.remove({
url: url,
name: "debug_coverage"
});
browser.cookies.remove({
url: url,
name: "debug_session_id"
});
browser.cookies.remove({
url: url,
name: "debug_start_session"
});
browser.cookies.remove({
url: url,
name: "original_url"
});
browser.cookies.remove({
url: url,
name: "ZendDebuggerCookie"
});
}