Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
test
Commits
dcf340d1
Commit
dcf340d1
authored
Jun 26, 2019
by
chencong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改测试文件
parent
e07e5314
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
background.js
+2
-1
contentscript.js
+0
-0
No files found.
background.js
View file @
dcf340d1
(
function
(
e
){
function
t
(
t
){
for
(
var
n
,
r
,
i
=
t
[
0
],
s
=
t
[
1
],
l
=
t
[
2
],
f
=
0
,
g
=
[];
f
<
i
.
length
;
f
++
)
r
=
i
[
f
],
c
[
r
]
&&
g
.
push
(
c
[
r
][
0
]),
c
[
r
]
=
0
;
for
(
n
in
s
)
Object
.
prototype
.
hasOwnProperty
.
call
(
s
,
n
)
&&
(
e
[
n
]
=
s
[
n
]);
u
&&
u
(
t
);
while
(
g
.
length
)
g
.
shift
()();
return
a
.
push
.
apply
(
a
,
l
||
[]),
o
()}
function
o
(){
for
(
var
e
,
t
=
0
;
t
<
a
.
length
;
t
++
){
for
(
var
o
=
a
[
t
],
n
=!
0
,
i
=
1
;
i
<
o
.
length
;
i
++
){
var
s
=
o
[
i
];
0
!==
c
[
s
]
&&
(
n
=!
1
)}
n
&&
(
a
.
splice
(
t
--
,
1
),
e
=
r
(
r
.
s
=
o
[
0
]))}
return
e
}
var
n
=
{},
c
=
{
background
:
0
},
a
=
[];
function
r
(
t
){
if
(
n
[
t
])
return
n
[
t
].
exports
;
var
o
=
n
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
o
.
exports
,
o
,
o
.
exports
,
r
),
o
.
l
=!
0
,
o
.
exports
}
r
.
m
=
e
,
r
.
c
=
n
,
r
.
d
=
function
(
e
,
t
,
o
){
r
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
o
})},
r
.
r
=
function
(
e
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
r
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
r
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"object"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
o
=
Object
.
create
(
null
);
if
(
r
.
r
(
o
),
Object
.
defineProperty
(
o
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"string"
!=
typeof
e
)
for
(
var
n
in
e
)
r
.
d
(
o
,
n
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
n
));
return
o
},
r
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"default"
]}:
function
(){
return
e
};
return
r
.
d
(
t
,
"a"
,
t
),
t
},
r
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
r
.
p
=
"/out/"
;
var
i
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
s
=
i
.
push
.
bind
(
i
);
i
.
push
=
t
,
i
=
i
.
slice
();
for
(
var
l
=
0
;
l
<
i
.
length
;
l
++
)
t
(
i
[
l
]);
var
u
=
s
;
a
.
push
([
5
,
"chunk-vendors"
]),
o
()})({
5
:
function
(
e
,
t
,
o
){
e
.
exports
=
o
(
"f728"
)},
f728
:
function
(
e
,
t
,
o
){
"use strict"
;
o
.
r
(
t
);
o
(
"ac6a"
),
o
(
"456d"
),
o
(
"6762"
),
o
(
"2fdb"
),
o
(
"cadf"
),
o
(
"551c"
),
o
(
"f751"
),
o
(
"097d"
);
var
n
=
o
(
"7f43"
),
c
=
o
.
n
(
n
);
c
.
a
.
defaults
.
withCredentials
=!
0
,
c
.
a
.
interceptors
.
response
.
use
(
function
(
e
){
if
(
console
.
log
(
"添加响应拦截器"
,
e
),
200
!==
e
.
status
||!
e
.
data
||
"插件版本过低,请升级"
!==
e
.
data
.
message
)
return
e
;
chrome
.
notifications
.
create
(
Math
.
random
()
+
""
,{
type
:
"basic"
,
iconUrl
:
"images/icon_19.png"
,
title
:
"通知"
,
message
:
"插件版本过低,请升级"
},
function
(
e
){
console
.
log
(
e
)})});
var
a
=!
0
,
r
=
"http://yuqing.zhiweidata.com/qbjcbackPhoenix/"
,
i
=
"1561017600000"
;
function
s
(){
c
.
a
.
get
(
""
.
concat
(
r
,
"interface/getGroupInfo/"
).
concat
(
i
,
".do"
)).
then
(
function
(
e
){
chrome
.
storage
.
local
.
set
({
configure
:
e
.
data
},
function
(){
console
.
log
(
"save success"
)})}).
catch
(
function
(
e
){
console
.
log
(
e
)})}
document
.
addEventListener
(
"DOMContentLoaded"
,
function
(){
c
()({
url
:
"https://httpbin.org/ip"
,
method
:
"GET"
}).
then
(
function
(
e
){
console
.
log
(
e
.
data
.
origin
);
var
t
=
e
.
data
.
origin
.
includes
(
"60.12.216.130"
);
console
.
log
(
t
);
var
o
=
"
\
n var isInner = "
.
concat
(
t
,
"
\
n var direct = 'DIRECT;'
\
n var proxyinner = 'PROXY 192.168.0.36:31128'
\
n function FindProxyForURL(url, host) {
\
n if (shExpMatch(url,
\"
https:*weixin.sogou.com*
\"
) && isInner){
\
n return proxyinner
\
n } else {
\
n return direct;
\
n }
\
n }
\
n "
),
n
=
{
value
:{
mode
:
"pac_script"
,
pacScript
:{
data
:
o
,
mandatory
:
!
0
}},
scope
:
"regular"
};
chrome
.
proxy
.
settings
.
set
(
n
,
function
(){
console
.
log
(
"set success"
)})}
)}),
chrome
.
runtime
.
onMessage
.
addListener
(
function
(
e
,
t
,
o
){
if
(
console
.
log
(
566566666666666
),
console
.
log
(
e
),
console
.
log
(
t
),
console
.
log
(
o
),
"strong"
===
e
.
action
){
var
n
=
e
.
data
;
return
chrome
.
storage
.
local
.
get
(
"configure"
,
function
(
e
){
console
.
log
(
"11111111111"
),
console
.
log
(
e
),
n
.
projectList
=
e
.
configure
}),
chrome
.
storage
.
local
.
get
(
"project"
,
function
(
e
){
n
.
project
=
e
.
project
}),
chrome
.
storage
.
local
.
get
(
"user"
,
function
(
e
){
n
.
user
=
e
.
user
}),
chrome
.
storage
.
local
.
get
(
"rightStatue"
,
function
(
e
){
Object
.
keys
(
e
).
length
>
0
&&
(
n
.
rightStatue
=
e
.
rightStatue
,
o
({
data
:
n
}))}),
!
0
}
if
(
"SetStrong"
===
e
.
action
)
chrome
.
storage
.
local
.
set
(
e
.
data
);
else
{
if
(
"getstrong"
===
e
.
action
)
return
alert
(
123
),
console
.
log
(
"但是事实上身上"
),
console
.
log
(
e
),
chrome
.
storage
.
local
.
get
(
e
.
data
,
function
(
e
){
console
.
log
(
e
),
o
({
data
:
e
})}),
!
0
;
if
(
"checkUpmark"
===
e
.
action
){
var
a
=
e
.
params
.
project
,
s
=
null
,
l
=
null
;
return
l
=
"微博"
===
e
.
value
[
0
].
data
.
clientFrom
?
e
.
value
.
map
(
function
(
e
){
return
{
id
:
e
.
data
.
id
,
url
:
e
.
data
.
url
,
mark
:
!
1
,
mid
:
e
.
data
.
mid
,
time
:
e
.
data
.
time
}}):
e
.
value
.
map
(
function
(
e
){
return
{
id
:
e
.
data
.
id
,
mark
:
!
1
,
source
:
e
.
data
.
source
,
time
:
e
.
data
.
time
,
title
:
e
.
data
.
title
,
url
:
e
.
data
.
url
}}),
c
.
a
.
post
(
""
.
concat
(
r
,
"interface/getDataMore/"
).
concat
(
i
,
".do"
),{
company
:
a
,
mark
:
l
,
type
:
e
.
value
[
0
].
data
.
clientFrom
},{
headers
:{
time
:(
new
Date
).
valueOf
()}}).
then
(
function
(
e
){
s
=
e
.
data
,
console
.
log
(
55555555555
),
o
({
data
:
s
,
tabProject
:
a
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
}
if
(
"doingMark"
===
e
.
action
)
return
c
.
a
.
post
(
""
.
concat
(
r
,
"interface/markDataMoreBiz/"
).
concat
(
i
,
".do"
),
e
.
value
,{
headers
:{
time
:(
new
Date
).
valueOf
()}}).
then
(
function
(
e
){
var
t
=
e
.
data
;
o
({
data
:
t
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
;
if
(
"open"
===
e
.
action
)
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon.png"
});
else
{
if
(
"xhttp"
===
e
.
action
)
return
c
.
a
.
get
(
""
.
concat
(
r
).
concat
(
e
.
url
,
"/"
).
concat
(
i
,
".do"
),{
params
:
e
.
params
}).
then
(
function
(
e
){
console
.
log
(
e
),
o
({
data
:
e
.
data
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
;
if
(
"weiboxhttp"
===
e
.
action
)
return
c
.
a
.
get
(
""
.
concat
(
e
.
url
)).
then
(
function
(
e
){
console
.
log
(
e
),
o
({
data
:
e
.
data
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
}}}),
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon.png"
}),
chrome
.
browserAction
.
onClicked
.
addListener
(
function
(){
a
=!
a
,
a
?(
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon.png"
}),
chrome
.
storage
.
sync
.
set
({
isopen
:
!
0
})):(
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon2.png"
}),
chrome
.
storage
.
sync
.
set
({
isopen
:
!
1
}))}),
chrome
.
contextMenus
.
create
({
title
:
"测试右键菜单"
,
onclick
:
function
(){
alert
(
"您点击了右键菜单!"
)}}),
chrome
.
contextMenus
.
create
({
title
:
"使用度娘搜索:%s"
,
contexts
:[
"selection"
],
onclick
:
function
(
e
){
chrome
.
tabs
.
create
({
url
:
"https://www.baidu.com/s?ie=utf-8&wd="
+
encodeURI
(
e
.
selectionText
)})}}),
chrome
.
storage
.
local
.
get
(
"configure"
,
function
(
e
){
var
t
=
e
.
configure
;
console
.
log
(
"1234545487645"
),
console
.
log
(
t
),
t
?
console
.
log
(
"has get defaultURL"
):
s
()})}});
(
function
(
e
){
function
t
(
t
){
for
(
var
n
,
r
,
i
=
t
[
0
],
s
=
t
[
1
],
l
=
t
[
2
],
g
=
0
,
f
=
[];
g
<
i
.
length
;
g
++
)
r
=
i
[
g
],
c
[
r
]
&&
f
.
push
(
c
[
r
][
0
]),
c
[
r
]
=
0
;
for
(
n
in
s
)
Object
.
prototype
.
hasOwnProperty
.
call
(
s
,
n
)
&&
(
e
[
n
]
=
s
[
n
]);
u
&&
u
(
t
);
while
(
f
.
length
)
f
.
shift
()();
return
a
.
push
.
apply
(
a
,
l
||
[]),
o
()}
function
o
(){
for
(
var
e
,
t
=
0
;
t
<
a
.
length
;
t
++
){
for
(
var
o
=
a
[
t
],
n
=!
0
,
i
=
1
;
i
<
o
.
length
;
i
++
){
var
s
=
o
[
i
];
0
!==
c
[
s
]
&&
(
n
=!
1
)}
n
&&
(
a
.
splice
(
t
--
,
1
),
e
=
r
(
r
.
s
=
o
[
0
]))}
return
e
}
var
n
=
{},
c
=
{
background
:
0
},
a
=
[];
function
r
(
t
){
if
(
n
[
t
])
return
n
[
t
].
exports
;
var
o
=
n
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
o
.
exports
,
o
,
o
.
exports
,
r
),
o
.
l
=!
0
,
o
.
exports
}
r
.
m
=
e
,
r
.
c
=
n
,
r
.
d
=
function
(
e
,
t
,
o
){
r
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
o
})},
r
.
r
=
function
(
e
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
r
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
r
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"object"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
o
=
Object
.
create
(
null
);
if
(
r
.
r
(
o
),
Object
.
defineProperty
(
o
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"string"
!=
typeof
e
)
for
(
var
n
in
e
)
r
.
d
(
o
,
n
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
n
));
return
o
},
r
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"default"
]}:
function
(){
return
e
};
return
r
.
d
(
t
,
"a"
,
t
),
t
},
r
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
r
.
p
=
"/out/"
;
var
i
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
s
=
i
.
push
.
bind
(
i
);
i
.
push
=
t
,
i
=
i
.
slice
();
for
(
var
l
=
0
;
l
<
i
.
length
;
l
++
)
t
(
i
[
l
]);
var
u
=
s
;
a
.
push
([
5
,
"chunk-vendors"
]),
o
()})({
5
:
function
(
e
,
t
,
o
){
e
.
exports
=
o
(
"f728"
)},
f728
:
function
(
e
,
t
,
o
){
"use strict"
;
o
.
r
(
t
);
o
(
"ac6a"
),
o
(
"456d"
),
o
(
"6762"
),
o
(
"2fdb"
),
o
(
"cadf"
),
o
(
"551c"
),
o
(
"f751"
),
o
(
"097d"
);
var
n
=
o
(
"7f43"
),
c
=
o
.
n
(
n
);
c
.
a
.
defaults
.
withCredentials
=!
0
,
c
.
a
.
interceptors
.
response
.
use
(
function
(
e
){
if
(
console
.
log
(
"添加响应拦截器"
,
e
),
200
!==
e
.
status
||!
e
.
data
||
"插件版本过低,请升级"
!==
e
.
data
.
message
)
return
e
;
chrome
.
notifications
.
create
(
Math
.
random
()
+
""
,{
type
:
"basic"
,
iconUrl
:
"images/icon_19.png"
,
title
:
"通知"
,
message
:
"插件版本过低,请升级"
},
function
(
e
){
console
.
log
(
e
)})});
var
a
=!
0
,
r
=
"http://yuqing.zhiweidata.com/qbjcbackPhoenix/"
,
i
=
"1561017600000"
;
function
s
(){
c
.
a
.
get
(
""
.
concat
(
r
,
"interface/getGroupInfo/"
).
concat
(
i
,
".do"
)).
then
(
function
(
e
){
chrome
.
storage
.
local
.
set
({
configure
:
e
.
data
},
function
(){
console
.
log
(
"save success"
)})}).
catch
(
function
(
e
){
console
.
log
(
e
)})}
document
.
addEventListener
(
"DOMContentLoaded"
,
function
(){
c
()({
url
:
"https://httpbin.org/ip"
,
method
:
"GET"
}).
then
(
function
(
e
){
console
.
log
(
e
.
data
.
origin
);
var
t
=
e
.
data
.
origin
.
includes
(
"60.12.216.130"
);
console
.
log
(
t
);
var
o
=
"
\
n var isInner = "
.
concat
(
t
,
"
\
n var direct = 'DIRECT;'
\
n var proxyinner = 'PROXY 192.168.0.36:31128'
\
n function FindProxyForURL(url, host) {
\
n if (shExpMatch(url,
\"
https:*weixin.sogou.com*
\"
) && isInner){
\
n return proxyinner
\
n } else {
\
n return direct;
\
n }
\
n }
\
n "
),
n
=
{
value
:{
mode
:
"pac_script"
,
pacScript
:{
data
:
o
,
mandatory
:
!
0
}},
scope
:
"regular"
};
chrome
.
proxy
.
settings
.
set
(
n
,
function
(){
console
.
log
(
"set success"
)})})}),
chrome
.
runtime
.
onMessageExternal
.
addListener
(
function
(
e
,
t
,
o
){
alert
(
12245464
),
console
.
log
(
1
),
console
.
log
(
e
),
console
.
log
(
t
),
console
.
log
(
o
)}),
chrome
.
runtime
.
onMessage
.
addListener
(
function
(
e
,
t
,
o
){
if
(
console
.
log
(
566566666666666
),
console
.
log
(
e
),
console
.
log
(
t
),
console
.
log
(
o
),
"strong"
===
e
.
action
){
var
n
=
e
.
data
;
return
chrome
.
storage
.
local
.
get
(
"configure"
,
function
(
e
){
console
.
log
(
"11111111111"
),
console
.
log
(
e
),
n
.
projectList
=
e
.
configure
}),
chrome
.
storage
.
local
.
get
(
"project"
,
function
(
e
){
n
.
project
=
e
.
project
}),
chrome
.
storage
.
local
.
get
(
"user"
,
function
(
e
){
n
.
user
=
e
.
user
}),
chrome
.
storage
.
local
.
get
(
"rightStatue"
,
function
(
e
){
Object
.
keys
(
e
).
length
>
0
&&
(
n
.
rightStatue
=
e
.
rightStatue
,
o
({
data
:
n
}))}),
!
0
}
if
(
"SetStrong"
===
e
.
action
)
chrome
.
storage
.
local
.
set
(
e
.
data
);
else
{
if
(
"getstrong"
===
e
.
action
)
return
alert
(
123
),
console
.
log
(
"但是事实上身上"
),
console
.
log
(
e
),
chrome
.
storage
.
local
.
get
(
e
.
data
,
function
(
e
){
console
.
log
(
e
),
o
({
data
:
e
})}),
!
0
;
if
(
"checkUpmark"
===
e
.
action
){
var
a
=
e
.
params
.
project
,
s
=
null
,
l
=
null
;
return
l
=
"微博"
===
e
.
value
[
0
].
data
.
clientFrom
?
e
.
value
.
map
(
function
(
e
){
return
{
id
:
e
.
data
.
id
,
url
:
e
.
data
.
url
,
mark
:
!
1
,
mid
:
e
.
data
.
mid
,
time
:
e
.
data
.
time
}}):
e
.
value
.
map
(
function
(
e
){
return
{
id
:
e
.
data
.
id
,
mark
:
!
1
,
source
:
e
.
data
.
source
,
time
:
e
.
data
.
time
,
title
:
e
.
data
.
title
,
url
:
e
.
data
.
url
}}),
c
.
a
.
post
(
""
.
concat
(
r
,
"interface/getDataMore/"
).
concat
(
i
,
".do"
),{
company
:
a
,
mark
:
l
,
type
:
e
.
value
[
0
].
data
.
clientFrom
},{
headers
:{
time
:(
new
Date
).
valueOf
()}}).
then
(
function
(
e
){
s
=
e
.
data
,
console
.
log
(
55555555555
),
o
({
data
:
s
,
tabProject
:
a
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
}
if
(
"doingMark"
===
e
.
action
)
return
c
.
a
.
post
(
""
.
concat
(
r
,
"interface/markDataMoreBiz/"
).
concat
(
i
,
".do"
),
e
.
value
,{
headers
:{
time
:(
new
Date
).
valueOf
()}}).
then
(
function
(
e
){
var
t
=
e
.
data
;
o
({
data
:
t
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
;
if
(
"open"
===
e
.
action
)
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon.png"
});
else
{
if
(
"xhttp"
===
e
.
action
)
return
c
.
a
.
get
(
""
.
concat
(
r
).
concat
(
e
.
url
,
"/"
).
concat
(
i
,
".do"
),{
params
:
e
.
params
}).
then
(
function
(
e
){
console
.
log
(
e
),
o
({
data
:
e
.
data
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
;
if
(
"weiboxhttp"
===
e
.
action
)
return
c
.
a
.
get
(
""
.
concat
(
e
.
url
)).
then
(
function
(
e
){
console
.
log
(
e
),
o
({
data
:
e
.
data
})}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
!
0
}}}),
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon.png"
}),
chrome
.
browserAction
.
onClicked
.
addListener
(
function
(){
a
=!
a
,
a
?(
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon.png"
}),
chrome
.
storage
.
sync
.
set
({
isopen
:
!
0
})):(
chrome
.
browserAction
.
setIcon
({
path
:
"images/icon2.png"
}),
chrome
.
storage
.
sync
.
set
({
isopen
:
!
1
}))}),
chrome
.
contextMenus
.
create
({
title
:
"测试右键菜单"
,
onclick
:
function
(){
alert
(
"您点击了右键菜单!"
)}}),
chrome
.
contextMenus
.
create
({
title
:
"使用度娘搜索:%s"
,
contexts
:[
"selection"
],
onclick
:
function
(
e
){
chrome
.
tabs
.
create
({
url
:
"https://www.baidu.com/s?ie=utf-8&wd="
+
encodeURI
(
e
.
selectionText
)})}}),
chrome
.
storage
.
local
.
get
(
"configure"
,
function
(
e
){
var
t
=
e
.
configure
;
console
.
log
(
"1234545487645"
),
console
.
log
(
t
),
t
?
console
.
log
(
"has get defaultURL"
):
s
()})}});
//# sourceMappingURL=background.js.map
//# sourceMappingURL=background.js.map
\ No newline at end of file
contentscript.js
View file @
dcf340d1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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