aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/_bookmarklet.twig
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/_bookmarklet.twig')
-rw-r--r--tpl/_bookmarklet.twig20
1 files changed, 20 insertions, 0 deletions
diff --git a/tpl/_bookmarklet.twig b/tpl/_bookmarklet.twig
new file mode 100644
index 00000000..0878e079
--- /dev/null
+++ b/tpl/_bookmarklet.twig
@@ -0,0 +1,20 @@
1 <script type="text/javascript">
2 top["bookmarklet-url@inthepoche.com"] = ''
3 +'<!DOCTYPE html>'
4 +'<html>'
5 +'<head>'
6 +'<title>poche it !</title>'
7 +'<link rel="icon" href="{$poche_url}img/favicon.ico" />'
8 +'</head>'
9 +'<body>'
10 +'<script>'
11 +'window.onload=function(){'
12 +'window.setTimeout(function(){'
13 +'history.back();'
14 +'},250);'
15 +'};'
16 +'</scr'+'ipt>'
17 +'</body>'
18 +'</html>'
19 ;
20 </script> \ No newline at end of file