Improve web app
Standalone mode Don't display bookmarklet in standalone mode Correct start URL
This commit is contained in:
parent
94527e11e1
commit
28d1319d73
3 changed files with 9 additions and 3 deletions
|
@ -658,3 +658,9 @@ h1 {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
@media all and (display-mode: standalone) {
|
||||
.bookmarklet {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"short_name": "AllTube",
|
||||
"name": "AllTube Download",
|
||||
"display": "minimal-ui",
|
||||
"display": "standalone",
|
||||
"icons": [{
|
||||
"src": "img/favicon.png",
|
||||
"sizes": "32x32",
|
||||
|
@ -24,6 +24,6 @@
|
|||
"type": "image/png"
|
||||
}],
|
||||
"lang": "en",
|
||||
"start_url": "./index.php",
|
||||
"start_url": "./",
|
||||
"theme_color": "#4F4F4F"
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</form>
|
||||
<a class="combatiblelink" href="{path_for name="extractors"}">See all supported websites</a>
|
||||
<div id="bookmarklet">
|
||||
<div id="bookmarklet" class="bookmarklet">
|
||||
<p> Drag this to your bookmarks bar: </p>
|
||||
<a class="bookmarklet" href="javascript:window.location='{base_url|noscheme}{path_for name='video'}?url='+encodeURIComponent(location.href);">Bookmarklet</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue