Andreas Kling
2cb50f6750
LibWeb+Browser: Add ability to run Browser with the new HTML parser
...
You can now pass "-n" to the browser to use the new HTML parser.
It's not turned on by default since it's still very immature, but this
is a huge step towards bringing it into maturity. :^)
2020-05-27 21:57:30 +02:00
FalseHonesty
51e79a2bbc
LibWeb: Add hook to HtmlView when a new document is set
2020-05-24 02:20:08 +02:00
Andreas Kling
fc26aefe81
LibWeb: Add a hook for when an URL is dropped on an HtmlView
...
Embedders of HtmlView can now react to this by hooking on_url_drop.
2020-05-10 22:32:12 +02:00
FalseHonesty
0e048f3c4c
LibWeb: Add hook when a link is middle clicked
2020-05-06 21:59:29 +02:00
Andreas Kling
f32989a3e7
LibWeb: Add hook when context menu is requested by right-clicking link
2020-05-05 22:42:21 +02:00
Andreas Kling
2be184f49c
LibWeb: Try fetching a favicon when loading a non-file URL in HtmlView
...
If valid and decodable, the favicon will be provided to clients via the
on_favicon_change hook. :^)
2020-04-24 22:26:53 +02:00
Andreas Kling
5c2bdbf27f
Browser+LibWeb: Open link in new tab on Ctrl+Click :^)
2020-04-24 14:43:56 +02:00
Linus Groh
061205b3b3
LibWeb: Pass link target to HtmlView's on_link_click callback
2020-04-24 14:34:11 +02:00
Andreas Kling
9b0bfcb8b7
LibWeb: Handle javascript: URLs inside LibWeb :^)
...
This patch makes it possible to execute JavaScript by clicking on an
anchor element with href="javascript:your_script_here()".
2020-04-04 22:12:37 +02:00
Linus Groh
021d78f8f7
Browser: Add error page
...
Add a simple HTML error page that gets loaded into the HtmlView when
loading the page fails.
Closes #1210 and #1516
2020-04-01 18:49:48 +02:00
Andreas Kling
55c845713a
LibWeb: Give MouseEvents the correct offsetX and offsetY values
2020-03-21 18:27:06 +01:00
Andreas Kling
830a57c6b2
LibWeb: Rename directory LibHTML => LibWeb
...
Let's rename this to LibWeb since it aims to provide more parts of the
web platform than just HTML. :^)
2020-03-07 10:32:51 +01:00