aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-06 11:00:42 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-06 11:00:42 +0200
commit17a9cb96088d4634deca29c8be9f90d94c0f6473 (patch)
tree4b7d01ae42e03f3649021adb6b3a439f2acb78e5
parentf6df40db46a1ee3d422d205e38c1a47c7555f4cb (diff)
downloadwallabag-17a9cb96088d4634deca29c8be9f90d94c0f6473.tar.gz
wallabag-17a9cb96088d4634deca29c8be9f90d94c0f6473.tar.zst
wallabag-17a9cb96088d4634deca29c8be9f90d94c0f6473.zip
minify bookmarklet js
-rw-r--r--tpl/_bookmarklet.twig19
1 files changed, 1 insertions, 18 deletions
diff --git a/tpl/_bookmarklet.twig b/tpl/_bookmarklet.twig
index 0595d57e..2f3b2d16 100644
--- a/tpl/_bookmarklet.twig
+++ b/tpl/_bookmarklet.twig
@@ -1,20 +1,3 @@
1 <script type="text/javascript"> 1 <script type="text/javascript">
2 top["bookmarklet-url@inthepoche.com"] = '' 2 top["bookmarklet-url@inthepoche.com"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>poche 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 +'<!DOCTYPE html>'
4 +'<html>'
5 +'<head>'
6 +'<title>poche it !</title>'
7 +'<link rel="icon" href="{{poche_url}}tpl/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 3 </script> \ No newline at end of file