Skip to content
Permalink
Browse files
Improve web app
Standalone mode
Don't display bookmarklet in standalone mode
Correct start URL
  • Loading branch information
Rudloff committed Jul 10, 2016
1 parent 94527e1 commit 28d1319d7387b2556ac374447001e3f49555ffe8
Show file tree
Hide file tree
Showing 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>

0 comments on commit 28d1319

Please sign in to comment.