]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tpl/head.html
testing icon in bookmarklet, thanks to @GeekShadow in #94
[github/wallabag/wallabag.git] / tpl / head.html
index e95f61001c11bdc8fbc3747755b5da0ab48aa7e0..dfb1278864e32b87153b3f01d1b02c767b0e55a4 100644 (file)
         <link rel="stylesheet" href="./css/style-light.css" media="all" title="light-style">
         <!-- Dark Theme -->
         <link rel="alternate stylesheet" href="./css/style-dark.css" media="all" title="dark-style">
+        <script>
+          top["bookmarklet-url@inthepoche.com"] = ''
+            +'<!DOCTYPE html>'
+            +'<html>'
+              +'<head>'
+            +'<title>poche it !</title>'
+            +'<link rel="icon" href="{$poche_url}img/favicon.ico" />'
+              +'</head>'
+              +'<body>'
+            +'<script>'
+              +'window.onload=function(){'
+                +'window.setTimeout(function(){'
+                  +'history.back();'
+                +'},250);'
+              +'};'
+            +'</scr'+'ipt>'
+              +'</body>'
+            +'</html>'
+          ;
+        </script>
     </head>
\ No newline at end of file