aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-02-07 18:28:30 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-02-07 18:28:31 +0100
commit8125b415d8f3bd15b8b9169fb8fc528a51603edc (patch)
tree7c410593d4ffd50007965242b1e04da1eb1aa409 /src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig
parentd01db0c71dcf183f1676b6b06206456138cb7660 (diff)
downloadwallabag-8125b415d8f3bd15b8b9169fb8fc528a51603edc.tar.gz
wallabag-8125b415d8f3bd15b8b9169fb8fc528a51603edc.tar.zst
wallabag-8125b415d8f3bd15b8b9169fb8fc528a51603edc.zip
Avoid raw javascript in template
It kills the Symfony Crawler :)
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig b/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig
deleted file mode 100644
index fd662c19..00000000
--- a/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig
+++ /dev/null
@@ -1,3 +0,0 @@
1 <script type="text/javascript">
2 top["bookmarklet-url@wallabag.org"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>bag it!</title>"+'<link rel="icon" href="tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>"
3 </script>