-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbkmk.html
More file actions
46 lines (38 loc) · 1.46 KB
/
bkmk.html
File metadata and controls
46 lines (38 loc) · 1.46 KB
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
<html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://qdownloader.io/css/bootstrap-q3f29daz.min.css">
<link rel="stylesheet" href="https://qdownloader.io/build/css/layout-a545277e75.css">
</head>
<body>
<div class="row">
<div class="header">
<h1>Bookmarklet</h1>
</div>
</div>
<div class="main front-main">
<style>
body, p{
text-align: left;
font-size: 18px !important;
}
ul{
padding: 0;
margin: 0;
list-style: none;
text-align: left;
font-size: 18px !important;
}
ul li {
padding: 5px 0;
}
.main{
max-width: 1000px !important;
margin-bottom: 200px;
}
</style>
<p><strong>How to add our bookmarklet?</strong></p>
<p>Drag the button below to your bookmarks bar:</p>
<a href="javascript:function qdownloader(videoID){if(location.host=='qdownloader.io'){return};window.open('https://qdownloader.io/download?url='+encodeURIComponent(`http://players.brightcove.net/5067014678001/default_default/index.html?videoId=${videoID}`),'_blank')};qdownloader(document.querySelector('.video-js').getAttribute('data-video-id'));" class="bookmarklet-button">Download video</a>
</div>
</body></html>