qutebrowser/tests/end2end/data/hints/html/javascript.html
Florian Bruhin 203a5dff74 Get rid of webelem.FILTERS
There's actually no good reason to filter javascript links as we might want to
click them (or copy their URL) just like any other link - this fixes #2404.

With that being gone, we don't need FILTERS at all anymore, as we can check for
existence of the href attribute in the CSS selector instead.
2017-05-12 09:41:12 +02:00

14 lines
276 B
HTML

<!DOCTYPE html>
<!-- target: hello.txt -->
<html>
<head>
<meta charset="utf-8">
<title>Javascript link</title>
</head>
<body>
<a href="javascript:window.location.href='/data/hello.txt'" id="link">Follow me via JS!</a>
</body>
</html>