Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
10290587da7d478d74d16fa30b0491626527d792
1 parent
07899029
'add-baidu-push-js'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
doraemon/views/partial/analysis.hbs
doraemon/views/partial/analysis.hbs
View file @
1029058
...
...
@@ -19,3 +19,18 @@ function async_load(){
}
window
.
addEventListener
(
'load'
,
async_load
,
false
);
</script>
<script>
(
function
(){
var
bp
=
document
.
createElement
(
'script'
);
var
curProtocol
=
window
.
location
.
protocol
.
split
(
':'
)[
0
];
if
(
curProtocol
===
'https'
)
{
bp
.
src
=
'https://zz.bdstatic.com/linksubmit/push.js'
;
}
else
{
bp
.
src
=
'http://push.zhanzhang.baidu.com/push.js'
;
}
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
s
.
parentNode
.
insertBefore
(
bp
,
s
);
})();
</script>
...
...
Please
register
or
login
to post a comment