wallabag/app/Resources/static/themes/_global/js/bookmarklet.js
Jeremy Benoist 01609f8514
Update to ESLint 8
And run it:
- `yarn eslint app/**/*.js --fix`
- `yarn eslint web/**/*.js --fix`
2022-01-05 21:43:32 +01:00

4 lines
286 B
JavaScript

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);};</script></body></html>';