203a5dff74
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.
14 lines
276 B
HTML
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>
|