File indexing completed on 2024-04-28 16:09:52

0001 <html>
0002 <head>
0003  <title>Link Tests</title>
0004 </head>
0005 <!--  
0006 Original file used from kWebKitPart (https://commits.kde.org/kwebkitpart)
0007 -->
0008 <body>
0009 <h2>MAILTO Link Tests</h2>
0010   <a href="mailto:joe@xyz.com&amp;CC=bob@xyz.com&amp;BCC=bob@xyz.com&amp;attach=%2Fetc%2Fpasswd&amp;subject=hello&amp;body=hello">Email link #1</a>
0011   <br/>
0012   <a href="mailto:joe@xyz.com">Email link #2</a>
0013   <br/>
0014 <h2>HTTP Link Tests</h2>
0015   <a href="http://www.kde.org" target="_blank">Web site link (new window)</a>
0016   <br/>
0017   <a href="http://foo@www.kde.org">Web site link with bogus username</a>
0018   <br/>
0019   <a href="http://bar@www.kde.org">Web site link with different bogus username</a>
0020   <br/>
0021   <a href="http://ev.kde.org/reports/ev-quarterly-2009Q1.pdf">PDF link</a>
0022   <br/>
0023   <a href="http://ev.kde.org/reports/ev-quarterly-2009Q1.pdf" target="_blank">PDF link (new window)</a>
0024   <br/>
0025   <a href="http://blip.tv/file/get/Sebasje-WindowManagingFeaturesInKDEPlasma44222.ogg">Movie link</a>
0026   <br/>
0027   <a href="http://blip.tv/file/get/Sebasje-WindowManagingFeaturesInKDEPlasma44222.ogg" target="_blank">Movie link (new window)</a>
0028   <br/>
0029   <a href="http://www.ietf.org/rfc/rfc2344.txt">Text Document Link</a>
0030   <br/>
0031   <a href="http://www.microsoft.com%26item%3Dq209354rexsddiuyjkiuylkuryt2583453453fsesfsdfsfasfdfdsf@www.kde.org/">Bogus link</a>
0032   <br/>
0033 <h2>Javascript Link Tests</h2>
0034   <a href="javascript:window.open('https://kde.org','dialog', 'width=600,height=600,statusbar=no,toolbar=no')">Open dialog like window link #1</a>
0035   <br/>
0036   <a href="javascript:window.open('http://www.kde.org')">Open new window link #2 (might be opened as Tab)</a>
0037   <br/>
0038   <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>
0039   <br/>
0040   <a href="javascript:window.open('forms/form.html', '_blank', 'width=600,height=600,statusbar=no,toolbar=no')">Open form test (new window)</a>
0041   <br/>
0042   <a href="javascript:window.open('http://www.openshot.org/videos/', '_blank', 'width=600,height=600,statusbar=no,toolbar=no')">ClickToFlash (new window)</a>
0043   <br/>
0044   <a href="javascript:window.close()">Close window</a>
0045   <br/>
0046 <h2>Form Tests</h2>
0047   <form action="mailto:someone@example.com?CC='bob@example.com&amp;attach=%2fetc%2fpasswd&amp;body=" method="post" enctype="application/x-www-form-urlencoded">
0048     Choose file to upload:<br />
0049     <input type="file" name="upload_file" size="20" /><br/>
0050     <input type="submit" value="Send" />
0051     <input type="reset" value="Reset" />
0052   </form>
0053 </body>
0054 </html>