diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-02-07 18:28:30 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-02-07 18:28:31 +0100 |
commit | 8125b415d8f3bd15b8b9169fb8fc528a51603edc (patch) | |
tree | 7c410593d4ffd50007965242b1e04da1eb1aa409 /src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig | |
parent | d01db0c71dcf183f1676b6b06206456138cb7660 (diff) | |
download | wallabag-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.twig | 3 |
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> | ||