File indexing completed on 2024-04-14 04:37:48

0001 <html>
0002 <head>
0003  <title>Link Tests</title>
0004 </head>
0005 <script type="text/javascript">
0006   function delayedRedirect() {
0007       setTimeout(window.open("http://kde-look.org/CONTENT/content-files/52338-kÃy.jpg"), 3000)
0008   }
0009   function openWin(url,name,features) {
0010     url = url || ''
0011     name = name || ''
0012     features = features || 'width=200,height=100'
0013     var myWindow = window.open(url,name,features);
0014     if (!url) {
0015       myWindow.document.write("<p>This is 'myWindow'</p>");
0016       myWindow.focus();
0017     }
0018   }
0019 </script>
0020 <body>
0021 <h2>MAILTO Link Tests</h2>
0022   <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>
0023   <br/>
0024   <a href="mailto:joe@xyz.com">Email link #2</a>
0025   <br/>
0026 <h2>FTP Link Tests</h2>
0027   <a href="ftp://ftp.kde.org" target="_blank">FTP link #1 (new window)</a>
0028   <br/>
0029   <a href="ftp://ftp.kde.org/pub" target="_blank">FTP link #2 (new window)</a>
0030   <br/>
0031   <a href="ftp://upload.kde.org">FTP link #3</a>
0032   <br/>
0033   <a href="ftp://ftp.kde.org/pub/kde/README_UPLOAD">Text File Link</a>
0034   <br/>
0035   <a href="#fragments" target="_top">Anchor test</a>
0036   <br/>
0037   <a href="#fragments" target="_blank">Anchor test (new window)</a>
0038   <br/>
0039 <h2>HTTP Link Tests</h2>
0040   <a href="http://www.kde.org" target="_blank">Web site link (new window)</a>
0041   <br/>
0042   <a href="http://foo@www.kde.org">Web site link with bogus username</a>
0043   <br/>
0044   <a href="http://bar@www.kde.org">Web site link with different bogus username</a>
0045   <br/>
0046   <a href="http://ev.kde.org/reports/ev-quarterly-2012_Q1.pdf">PDF link</a>
0047   <br/>
0048   <a href="http://ev.kde.org/reports/ev-quarterly-2012_Q1.pdf" target="_blank">PDF link (new window)</a>
0049   <br/>
0050   <a href="http://ev.kde.org/reports/ev-quarterly-2012_Q1.pdf" target="_blank">Duplicate PDF link (new window)</a>
0051   <br/>
0052   <a href="http://blip.tv/file/get/Sebasje-WindowManagingFeaturesInKDEPlasma44222.ogg">Movie link</a>
0053   <br/>
0054   <a href="http://blip.tv/file/get/Sebasje-WindowManagingFeaturesInKDEPlasma44222.ogg" target="_blank">Movie link (new window)</a>
0055   <br/>
0056   <a href="http://www.ietf.org/rfc/rfc2344.txt">Text Document Link</a>
0057   <br/>
0058   <a href="http://www.microsoft.com%26item%3Dq209354rexsddiuyjkiuylkuryt2583453453fsesfsdfsfasfdfdsf@www.kde.org/">Bogus link</a>
0059   <br/>
0060 <h2>Javascript Link Tests</h2>
0061   <a href="javascript:openWin('http://www.kde.org','', 'width=600,height=600,statusbar=no,toolbar=no')">Open dialog like window link #1</a>
0062   <br/>
0063   <a href="javascript:openWin('file:///usr/local/src/KDE/git/extragear/kwebkitpart/tests/link_tests.html','','dialog','width=600,height=600,statusbar=no,toolbar=no')">Open dialog like window link #2</a>
0064   <br/>
0065   <a href="javascript:openWin('http://www.kde.org','', 'width=0,height=0')">Open new window link #2 (might be opened as Tab)</a>
0066   <br/>
0067   <a href="javascript:openWin('http://ev.kde.org/reports/ev-quarterly-2009Q1.pdf', '_blank', 'width=600,height=600,statusbar=no,toolbar=no')">Open PDF Document (new window)</a>
0068   <br/>
0069   <a href='empty.html' onclick="openWin('empty.html', 'dz_orders','toolbar=false,height=100,width=100,resizable=1,scrollbars=1')" target='dz_orders'>Javscript + Target test</a>
0070   <br/>
0071   <a href="javascript:window.close">Close window</a>
0072   <br/>
0073   <a href=""  <br/>
0074  onmouseover="openWin()">On mouse over open window test</a>
0075   <a href="javascript:setTimeout(delayedRedirect(), 3000)" target="_blank">Redirect test</a>
0076   <br/>
0077 <h2>KDE specific URL Tests</h2>
0078   <a href="applications:/Internet/">Text Document Link</a>
0079   <br/>
0080 <h2>Form Tests</h2>
0081   <form action="mailto:someone@example.com?CC='bob@example.com&amp;attach=%2fetc%2fpasswd&amp;body=" method="post" enctype="application/x-www-form-urlencoded">
0082     Choose file to upload:<br />
0083     <input type="file" name="upload_file" size="20" /><br/>
0084     <input type="submit" value="Send" />
0085     <input type="reset" value="Reset" />
0086   </form>
0087  <br/>
0088  <a name="fragments"><h2>URL Fragment Test</h2></a>
0089  <br/>
0090  <br/>
0091  <br/>
0092  <br/>
0093  <br/>
0094  <br/>
0095  <br/>
0096  <br/>
0097  <br/>
0098  <br/>
0099  <br/>
0100  <br/>
0101  <br/>
0102  <br/>
0103  <br/>
0104  <br/>
0105  <br/>
0106  <br/>
0107  <br/>
0108  <br/>
0109  <br/>
0110  <br/>
0111  <br/>
0112  <br/>
0113  <br/>
0114  <br/>
0115  <br/>
0116  <br/>
0117  <br/>
0118  <br/>
0119  <br/>
0120  <br/>
0121  <br/>
0122  <br/>
0123  <br/>
0124  <br/>
0125  <br/>
0126  <br/>
0127  <br/>
0128  <br/>
0129  <br/>
0130  <br/>
0131  <br/>
0132  <br/>
0133  <br/>
0134  <br/>
0135 </body>
0136 </html>