2012-01-21 23:19:38 +01:00
< html >
< head >
< title > Link Tests< / title >
< / head >
<!--
2019-12-16 00:34:12 +01:00
Original file used from kWebKitPart (https://commits.kde.org/kwebkitpart)
2012-01-21 23:19:38 +01:00
-->
< body >
< h2 > MAILTO Link Tests< / h2 >
< a href = "mailto:joe@xyz.com&CC=bob@xyz.com&BCC=bob@xyz.com&attach=%2Fetc%2Fpasswd&subject=hello&body=hello" > Email link #1< / a >
< br / >
< a href = "mailto:joe@xyz.com" > Email link #2< / a >
< br / >
< h2 > HTTP Link Tests< / h2 >
< a href = "http://www.kde.org" target = "_blank" > Web site link (new window)< / a >
< br / >
< a href = "http://foo@www.kde.org" > Web site link with bogus username< / a >
< br / >
< a href = "http://bar@www.kde.org" > Web site link with different bogus username< / a >
< br / >
< a href = "http://ev.kde.org/reports/ev-quarterly-2009Q1.pdf" > PDF link< / a >
< br / >
< a href = "http://ev.kde.org/reports/ev-quarterly-2009Q1.pdf" target = "_blank" > PDF link (new window)< / a >
< br / >
< a href = "http://blip.tv/file/get/Sebasje-WindowManagingFeaturesInKDEPlasma44222.ogg" > Movie link< / a >
< br / >
< a href = "http://blip.tv/file/get/Sebasje-WindowManagingFeaturesInKDEPlasma44222.ogg" target = "_blank" > Movie link (new window)< / a >
< br / >
< a href = "http://www.ietf.org/rfc/rfc2344.txt" > Text Document Link< / a >
< br / >
< a href = "http://www.microsoft.com%26item%3Dq209354rexsddiuyjkiuylkuryt2583453453fsesfsdfsfasfdfdsf@www.kde.org/" > Bogus link< / a >
< br / >
< h2 > Javascript Link Tests< / h2 >
2018-02-16 15:00:40 +01:00
< a href = "javascript:window.open('https://kde.org','dialog', 'width=600,height=600,statusbar=no,toolbar=no')" > Open dialog like window link #1< / a >
2012-01-21 23:19:38 +01:00
< br / >
< a href = "javascript:window.open('http://www.kde.org')" > Open new window link #2 (might be opened as Tab)< / a >
< br / >
< a href = "javascript:window.open('http://ev.kde.org/reports/ev-quarterly-2009Q1.pdf', '_blank', 'width=600,height=600,statusbar=no,toolbar=no')" > Open PDF Document (new window)< / a >
< br / >
< a href = "javascript:window.open('forms/form.html', '_blank', 'width=600,height=600,statusbar=no,toolbar=no')" > Open form test (new window)< / a >
< br / >
2012-01-27 17:25:51 +01:00
< a href = "javascript:window.open('http://www.openshot.org/videos/', '_blank', 'width=600,height=600,statusbar=no,toolbar=no')" > ClickToFlash (new window)< / a >
< br / >
2012-01-21 23:19:38 +01:00
< a href = "javascript:window.close()" > Close window< / a >
< br / >
< h2 > Form Tests< / h2 >
< form action = "mailto:someone@example.com?CC='bob@example.com&attach=%2fetc%2fpasswd&body=" method = "post" enctype = "application/x-www-form-urlencoded" >
Choose file to upload:< br / >
< input type = "file" name = "upload_file" size = "20" / > < br / >
< input type = "submit" value = "Send" / >
< input type = "reset" value = "Reset" / >
< / form >
< / body >
< / html >