aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/default/_bookmarklet.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/default/_bookmarklet.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/default/_bookmarklet.twig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/default/_bookmarklet.twig b/src/Wallabag/CoreBundle/Resources/views/themes/default/_bookmarklet.twig
new file mode 100644
index 00000000..c7e2f66e
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/default/_bookmarklet.twig
@@ -0,0 +1,3 @@
1 <script type="text/javascript">
2 top["bookmarklet-url@wallabag.org"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>bag it!</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>"
3 </script>