Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
5413f93a
Commit
5413f93a
authored
Sep 18, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收集更多信息
parent
f7b65a4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
collect.js
env/templates/collect.js
+9
-1
No files found.
env/templates/collect.js
View file @
5413f93a
...
@@ -796,6 +796,7 @@ try {
...
@@ -796,6 +796,7 @@ try {
let
navigatorparams
=
{
let
navigatorparams
=
{
appname
:
navigator
.
appName
,
appname
:
navigator
.
appName
,
appncodename
:
navigator
.
appCodeName
,
appversion
:
navigator
.
appVersion
,
appversion
:
navigator
.
appVersion
,
appcodename
:
navigator
.
appCodeName
,
appcodename
:
navigator
.
appCodeName
,
hardwareconcurrency
:
navigator
.
hardwareConcurrency
,
hardwareconcurrency
:
navigator
.
hardwareConcurrency
,
...
@@ -807,6 +808,8 @@ try {
...
@@ -807,6 +808,8 @@ try {
vendor
:
navigator
.
vendor
,
vendor
:
navigator
.
vendor
,
vendorsub
:
navigator
.
vendorSub
,
vendorsub
:
navigator
.
vendorSub
,
donottrack
:
navigator
.
doNotTrack
,
donottrack
:
navigator
.
doNotTrack
,
oscpu
:
navigator
.
oscpu
?
navigator
.
oscpu
:
''
,
buildid
:
navigator
.
buildID
?
navigator
.
buildID
:
''
,
}
}
let
screenparams
=
{
let
screenparams
=
{
...
@@ -816,6 +819,8 @@ try {
...
@@ -816,6 +819,8 @@ try {
availwidth
:
screen
.
availWidth
,
availwidth
:
screen
.
availWidth
,
pixeldepth
:
screen
.
pixelDepth
,
pixeldepth
:
screen
.
pixelDepth
,
colordepth
:
screen
.
colorDepth
,
colordepth
:
screen
.
colorDepth
,
availtop
:
screen
.
availTop
,
availleft
:
screen
.
availLeft
,
}
}
...
@@ -833,6 +838,8 @@ try {
...
@@ -833,6 +838,8 @@ try {
outerwidth
:
window
.
outerWidth
,
outerwidth
:
window
.
outerWidth
,
screenx
:
window
.
screenX
,
screenx
:
window
.
screenX
,
screeny
:
window
.
screenY
,
screeny
:
window
.
screenY
,
screentop
:
window
.
screenTop
,
screenleft
:
window
.
screenLeft
,
pageyoffset
:
window
.
pageYOffset
,
pageyoffset
:
window
.
pageYOffset
,
devicepixelratio
:
window
.
devicePixelRatio
,
devicepixelratio
:
window
.
devicePixelRatio
,
}
}
...
@@ -1128,7 +1135,8 @@ try {
...
@@ -1128,7 +1135,8 @@ try {
// /collect
// /collect
// fetch("https://stage.unififi.com/env/shape", {
// fetch("https://stage.unififi.com/env/shape", {
fetch
(
"/collect"
,
{
// fetch("/collect", {
fetch
(
"http://127.0.0.1:39999/env/shape"
,
{
"headers"
:
{
"headers"
:
{
"accept"
:
"*/*"
,
"accept"
:
"*/*"
,
"accept-language"
:
"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7"
,
"accept-language"
:
"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment