-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
164 lines (154 loc) · 20 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="LIRN Online Proxy URL Encoder">
<meta name="viewport" content="width=device-width">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/themes/redmond/jquery-ui.min.css" type="text/css">
<style>
img { border: 0; }
#encoder input { width:80%; margin:0.5em;}
span.ui-icon { display: inline-block; }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.19.11/URI.min.js"></script>
<script src="proxyprefix.min.js"></script>
<script>
$(document).ready( function() {
var proxy = $('input#proxy_url');
var resource = $('input#resource_url');
var prefixed = $('input#prefixed_url');
$('#encoder').submit( function() { return false; });
if ( proxy.val() === '' ) {
proxy.attr( 'placeholder', 'http://proxy.example.edu' );
}
function prefix_url() {
var anchor = $('<a></a>').attr( 'href', resource.val() );
if ( proxy.val() ) {
anchor.ProxyPrefix( { hostnames: new Array( URI( proxy.val() ).hostname() ) } );
} else {
anchor.ProxyPrefix( );
}
prefixed.val( anchor.attr('href') ).select();
}
$('#prefix_resource_url').button({
icons: { primary: "ui-icon-wrench", }
}).click( function( event ) {
prefix_url();
});
$('#test_proxied_url').button({
icons: { primary: "ui-icon-extlink", }
}).click( function( event ) {
prefix_url();
var popup = window.open( prefixed.val(), '_blank', '', '' );
});
$('#clear').button({
icons: { primary: "ui-icon-trash", }
}).click( function( event ) {
proxy.val( '' );
resource.val( '' );
prefixed.val( '' );
});
});
</script>
</head>
<body>
<header>
<a href="http://www.lirn.net/">
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1093.3066 133.33333" height="133.33333" width="1093.3066" xml:space="preserve" id="svg2" version="1.1">
<metadata id="metadata8">
<rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF>
</metadata>
<defs id="defs6" />
<g transform="matrix(1.3333333,0,0,-1.3333333,0,133.33333)" id="g10">
<g transform="scale(0.1)" id="g12">
<path id="path14" style="fill:#282764;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 823.094,1000 H 1040.87 V 2.44922 H 823.094 V 1000" />
<path id="path16" style="fill:#282764;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1469.74,558.832 h 216.37 c 59.01,0 95.54,29.508 95.54,81.484 v 81.497 c 0,51.988 -36.53,81.492 -94.13,81.492 H 1469.74 Z M 1645.37,362.129 H 1469.74 V 2.44922 H 1251.97 V 1000 h 420.1 c 196.69,0 327.36,-112.398 327.36,-288.027 v -61.817 c 0,-110.992 -51.99,-196.699 -140.5,-244.472 L 2012.07,2.44922 h -226.2 L 1645.37,362.129" />
<path id="path18" style="fill:#282764;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 2789.74,956.547 2688.58,1000 V 398.66 L 2345.76,1000 H 2143.44 V 2.44922 h 202.32 V 600.98 L 2688.58,2.44922 H 2890.9 V 1000 l -101.16,-43.453" />
<path id="path20" style="fill:#282764;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 217.777,1000 H 0 V 247.813 H 217.777 V 1000" />
<path id="path22" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 653.324,199.148 H 217.777 v 0.012 H 0 L 217.777,2.44922 h 435.547 l -42.238,98.35178 42.238,98.347" />
<path id="path24" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 3633.54,599.805 V 559.16 h -235.02 v 357.496 h 45.85 V 599.805 h 189.17" />
<path id="path26" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 3677.28,814.516 h 46.39 V 559.16 h -46.39 z m 24.5,52.109 c -17.72,0 -31.79,13.027 -31.79,31.266 0,17.718 14.07,31.269 31.79,31.269 17.72,0 31.79,-13.551 31.79,-31.269 0,-18.239 -14.07,-31.266 -31.79,-31.266" />
<path id="path28" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4001.93,688.922 c 0,54.199 -28.66,89.109 -74.52,89.109 -55.76,0 -81.82,-47.422 -81.82,-84.941 v -11.465 c 0,-38.559 25.02,-85.988 80.78,-85.988 45.86,0 75.56,38.051 75.56,93.285 z m 46.9,1.043 c 0,-78.695 -47.94,-133.406 -119.33,-133.406 -41.7,0 -68.79,17.195 -83.91,41.687 l -1.03,-39.086 h -44.82 v 370 h 45.85 V 771.781 c 16.16,26.055 45.34,45.336 87.03,45.336 69.31,0 116.21,-49.504 116.21,-127.152" />
<path id="path30" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4235.88,815.551 -0.51,-45.332 c -2.09,1.035 -6.78,2.086 -17.2,2.086 -32.31,0 -62.54,-27.102 -62.54,-78.696 V 559.16 h -45.86 v 255.356 h 43.25 l 1.05,-41.176 c 12.51,25.023 33.87,43.777 67.22,43.777 6.78,0 11.47,-1.039 14.59,-1.566" />
<path id="path32" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4436.52,652.965 v 17.715 h -56.29 c -47.94,0 -72.43,-14.586 -72.43,-42.731 0,-21.367 14.59,-34.398 48.98,-34.398 51.59,0 79.74,35.965 79.74,59.414 z m 77.12,-92.238 c -8.86,-2.606 -18.24,-4.168 -29.18,-4.168 -26.57,0 -44.3,16.668 -47.42,41.687 -9.38,-14.594 -32.84,-41.687 -89.63,-41.687 -57.85,0 -86.52,28.66 -86.52,69.304 0,55.246 51.08,78.168 121.95,78.168 h 53.68 v 16.684 c 0,35.437 -21.9,57.316 -63.06,57.316 -36.48,0 -58.89,-17.191 -62.02,-47.937 h -44.81 c 4.17,55.238 47.42,87.023 109.96,87.023 67.22,0 105.79,-35.957 105.79,-97.449 v -104.23 c 0,-10.942 6.25,-17.192 14.59,-17.192 4.68,0 7.81,0.524 13.02,2.609 l 3.65,-40.128" />
<path id="path34" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4688.72,815.551 -0.53,-45.332 c -2.08,1.035 -6.78,2.086 -17.2,2.086 -32.3,0 -62.54,-27.102 -62.54,-78.696 V 559.16 h -45.85 v 255.356 h 43.25 l 1.05,-41.176 c 12.5,25.023 33.87,43.777 67.23,43.777 6.76,0 11.46,-1.039 14.59,-1.566" />
<path id="path36" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 4953.43,814.516 4856.5,559.16 4845.55,530.5 c -22.4,-59.414 -46.89,-78.164 -90.15,-78.164 -14.59,0 -29.7,2.598 -38.04,6.25 l 3.65,40.644 c 8.86,-3.648 15.11,-5.207 24.49,-5.207 23.98,0 42.21,5.207 56.8,40.645 l 6.26,14.594 -100.59,265.254 h 51.6 l 64.62,-181.356 c 3.65,-9.383 5.74,-16.676 8.33,-27.101 h 1.05 c 2.08,10.425 4.17,17.718 7.29,27.101 l 65.67,181.356 h 46.9" />
<path id="path38" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 5169.66,833.801 c 0,-19.809 6.25,-36.488 24.5,-58.895 l 29.18,16.153 c 27.62,15.117 40.13,30.75 40.13,50.035 0,25.011 -16.16,39.078 -43.78,39.078 -30.22,0 -50.03,-18.238 -50.03,-46.371 z m 108.92,-216.278 -96.93,104.747 c -30.23,-19.805 -41.17,-36.993 -41.17,-63.051 -0.52,-38.043 27.62,-61.5 74,-61.5 25.53,0 47.43,6.777 64.1,19.804 z m 54.2,-58.363 -26.58,28.66 c -26.06,-19.8 -58.36,-31.261 -94.85,-31.261 -70.87,0 -117.24,40.644 -117.24,102.66 0,39.086 15.62,64.097 60.45,93.281 -21.9,26.578 -31.27,51.594 -31.27,81.301 0,51.59 39.6,87.023 96.4,87.023 54.72,0 90.16,-31.261 90.16,-79.73 0,-32.317 -19.81,-57.848 -63.06,-81.821 l -26.05,-14.593 84.41,-94.325 c 8.87,17.719 13.56,39.61 13.56,64.622 h 45.34 c 0,-37.52 -10.95,-70.875 -29.71,-96.934 l 52.64,-58.883 h -54.2" />
<path id="path40" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 5558.38,916.656 h 45.86 V 559.16 h -45.86 v 357.496" />
<path id="path42" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 5909.09,720.188 V 559.16 h -46.38 v 151.645 c 0,43.261 -20.32,67.226 -58.37,67.226 -41.17,0 -68.79,-27.097 -68.79,-70.343 V 559.16 h -45.86 v 255.356 h 43.25 l 2.08,-38.039 c 16.17,23.445 43.27,40.64 81.83,40.64 56.28,0 92.24,-34.387 92.24,-96.929" />
<path id="path44" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 6039.34,847.867 v -33.351 h 81.3 v -38.571 h -81.3 V 559.16 h -45.86 v 216.785 h -35.96 v 38.571 h 35.96 v 33.351 c 0,52.11 40.13,86.508 92.77,86.508 14.58,0 33.34,-2.602 38.03,-4.687 l -2.08,-40.125 c -6.25,2.601 -22.41,4.683 -33.35,4.683 -34.39,0 -49.51,-20.848 -49.51,-46.379" />
<path id="path46" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 6188.9,685.797 c 0,-53.68 31.79,-90.16 79.21,-90.16 48.47,0 79.73,36.48 79.73,90.16 0,54.191 -31.26,92.234 -79.73,92.234 -47.42,0 -79.21,-38.043 -79.21,-92.234 z m 205.84,1.566 c 0,-77.133 -50.02,-130.804 -126.63,-130.804 -75.57,0 -126.11,50.55 -126.11,127.671 0,77.649 50.54,132.887 126.11,132.887 76.61,0 126.63,-52.105 126.63,-129.754" />
<path id="path48" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 6581.28,815.551 -0.52,-45.332 c -2.08,1.035 -6.78,2.086 -17.2,2.086 -32.31,0 -62.54,-27.102 -62.54,-78.696 V 559.16 h -45.85 v 255.356 h 43.25 l 1.04,-41.176 c 12.51,25.023 33.87,43.777 67.23,43.777 6.77,0 11.46,-1.039 14.59,-1.566" />
<path id="path50" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 7013.8,721.754 V 559.16 h -46.38 v 153.215 c 0,42.727 -21.89,65.656 -57.84,65.656 -39.09,0 -65.14,-26.051 -65.14,-70.343 V 559.16 h -46.39 v 153.215 c 0,42.727 -21.88,65.656 -57.84,65.656 -39.08,0 -65.15,-26.051 -65.15,-70.343 V 559.16 h -45.86 v 255.356 h 43.27 l 2.08,-37.004 c 15.63,22.937 41.69,39.605 78.17,39.605 41.16,0 70.35,-19.281 83.9,-52.105 14.07,29.699 42.73,52.105 85.46,52.105 56.81,0 91.72,-37 91.72,-95.363" />
<path id="path52" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 7245.66,652.965 v 17.715 h -56.28 c -47.94,0 -72.43,-14.586 -72.43,-42.731 0,-21.367 14.59,-34.398 48.98,-34.398 51.58,0 79.73,35.965 79.73,59.414 z m 77.13,-92.238 c -8.86,-2.606 -18.23,-4.168 -29.18,-4.168 -26.58,0 -44.3,16.668 -47.42,41.687 -9.39,-14.594 -32.84,-41.687 -89.64,-41.687 -57.84,0 -86.51,28.66 -86.51,69.304 0,55.246 51.08,78.168 121.95,78.168 h 53.67 v 16.684 c 0,35.437 -21.89,57.316 -63.06,57.316 -36.47,0 -58.88,-17.191 -62.01,-47.937 h -44.81 c 4.17,55.238 47.42,87.023 109.96,87.023 67.21,0 105.78,-35.957 105.78,-97.449 v -104.23 c 0,-10.942 6.26,-17.192 14.59,-17.192 4.7,0 7.82,0.524 13.04,2.609 l 3.64,-40.128" />
<path id="path54" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 7514.02,562.813 c -8.33,-3.653 -23.97,-6.254 -40.13,-6.254 -59.4,0 -94.84,33.347 -94.84,86.507 v 131.84 h -38.57 v 39.61 h 41.18 v 76.082 h 43.25 v -76.082 h 82.86 v -38.571 h -82.86 V 643.066 c 0,-25.543 11.99,-46.382 53.68,-46.382 11.46,0 22.41,1.562 33.35,6.254 l 2.08,-40.125" />
<path id="path56" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 7560.38,814.516 h 46.38 V 559.16 h -46.38 z m 24.49,52.109 c -17.72,0 -31.79,13.027 -31.79,31.266 0,17.718 14.07,31.269 31.79,31.269 17.72,0 31.8,-13.551 31.8,-31.269 0,-18.239 -14.08,-31.266 -31.8,-31.266" />
<path id="path58" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 7714.1,685.797 c 0,-53.68 31.78,-90.16 79.21,-90.16 48.46,0 79.73,36.48 79.73,90.16 0,54.191 -31.27,92.234 -79.73,92.234 -47.43,0 -79.21,-38.043 -79.21,-92.234 z m 205.85,1.566 c 0,-77.133 -50.04,-130.804 -126.64,-130.804 -75.57,0 -126.12,50.55 -126.12,127.671 0,77.649 50.55,132.887 126.12,132.887 76.6,0 126.64,-52.105 126.64,-129.754" />
<path id="path60" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 8199.75,720.188 V 559.16 h -46.38 v 151.645 c 0,43.261 -20.32,67.226 -58.37,67.226 -41.17,0 -68.78,-27.097 -68.78,-70.343 V 559.16 h -45.86 v 255.356 h 43.26 l 2.08,-38.039 c 16.15,23.445 43.25,40.64 81.81,40.64 56.29,0 92.24,-34.387 92.24,-96.929" />
<path id="path62" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 3529.32,184.48 c 46.38,0 69.83,28.665 69.83,67.747 0,39.082 -23.45,67.746 -69.83,67.746 h -84.95 V 184.48 Z M 3675.23,4.17188 C 3666.38,1.5625 3656.99,0 3646.05,0 c -45.34,0 -64.1,23.4453 -82.86,57.8438 l -47.42,88.5942 h -71.4 V 2.60547 h -45.85 V 360.098 h 130.8 c 66.7,0 116.21,-37.52 116.21,-107.871 0,-54.715 -30.75,-88.594 -76.09,-100.579 l 43.78,-84.9371 c 11.46,-21.3789 25.01,-25.0234 37.52,-25.0234 8.86,0 15.64,0.5195 20.85,2.6094 l 3.64,-40.12502" />
<path id="path64" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 3751.29,152.168 h 143.31 c -5.73,45.859 -30.74,69.309 -69.31,69.309 -39.08,0 -66.7,-26.582 -74,-69.309 z m 189.69,-33.875 h -190.73 c 3.65,-48.4688 31.27,-79.211 76.08,-79.211 44.82,0 62.02,23.4571 66.71,44.2969 h 46.38 C 3929.52,36.9922 3894.08,0 3825.82,0 c -79.74,0 -122.99,54.7188 -122.99,129.758 0,76.609 50.55,130.808 121.94,130.808 71.4,0 116.21,-48.464 116.21,-130.808 v -11.465" />
<path id="path66" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 4187.46,71.9141 C 4187.46,29.6953 4150.97,0 4085.31,0 4014.96,0 3984.73,28.1367 3983.69,77.6445 l 42.21,-0.5156 c 2.61,-24.5 18.25,-38.0469 59.93,-38.0469 39.61,0 56.28,13.5469 56.28,32.8321 0,59.4139 -151.65,17.1953 -151.65,116.7379 0,42.207 35.97,71.914 97.98,71.914 61.5,0 93.28,-28.144 95.36,-77.656 l -42.73,0.528 c -2.08,25.019 -21.36,38.039 -53.67,38.039 -34.92,0 -51.59,-12.5 -51.59,-32.825 0,-58.379 151.65,-14.082 151.65,-116.7379" />
<path id="path68" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4278.62,129.238 c 0,-53.6716 31.78,-90.156 79.22,-90.156 48.45,0 79.72,36.4844 79.72,90.156 0,54.2 -31.27,92.239 -79.72,92.239 -47.44,0 -79.22,-38.039 -79.22,-92.239 z m 205.85,1.563 C 4484.47,53.6719 4434.44,0 4357.84,0 c -75.57,0 -126.13,50.5586 -126.13,127.676 0,77.644 50.56,132.89 126.13,132.89 76.6,0 126.63,-52.109 126.63,-129.765" />
<path id="path70" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 4756.47,257.961 V 2.60547 h -43.25 l -2.09,37.52343 C 4695.49,16.6719 4668.92,0 4632.44,0 c -55.77,0 -90.16,35.4375 -90.16,91.1992 V 257.961 h 46.39 V 97.9688 c 0,-37.5196 20.32,-58.8868 57.32,-58.8868 36.99,0 64.62,26.0547 64.62,70.352 v 148.527 h 45.86" />
<path id="path72" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4958.64,258.992 -0.53,-45.332 c -2.09,1.035 -6.78,2.094 -17.2,2.094 -32.3,0 -62.54,-27.102 -62.54,-78.703 V 2.60547 h -45.86 V 257.961 h 43.27 l 1.03,-41.176 c 12.51,25.024 33.88,43.781 67.23,43.781 6.78,0 11.46,-1.046 14.6,-1.574" />
<path id="path74" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 4982.07,129.238 c 0,76.602 49.51,131.328 121.95,131.328 66.7,0 105.79,-37.531 112.56,-95.886 h -48.99 c -5.21,31.785 -24.49,56.797 -63.05,56.797 -45.86,0 -75.57,-35.957 -75.57,-91.204 0,-54.7066 27.1,-91.191 74.52,-91.191 39.61,0 58.89,25.0196 64.1,55.2344 h 48.99 C 5208.76,37.5195 5169.16,0 5101.41,0 5023.76,0 4982.07,54.1875 4982.07,129.238" />
<path id="path76" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 5306.71,152.168 h 143.31 c -5.73,45.859 -30.75,69.309 -69.31,69.309 -39.08,0 -66.7,-26.582 -74,-69.309 z m 189.69,-33.875 h -190.73 c 3.65,-48.4688 31.27,-79.211 76.08,-79.211 44.83,0 62.01,23.4571 66.71,44.2969 h 46.38 C 5484.94,36.9922 5449.5,0 5381.24,0 c -79.74,0 -122.99,54.7188 -122.99,129.758 0,76.609 50.54,130.808 121.94,130.808 71.4,0 116.21,-48.464 116.21,-130.808 v -11.465" />
<path id="path78" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 5742.88,71.9141 C 5742.88,29.6953 5706.39,0 5640.74,0 5570.38,0 5540.15,28.1367 5539.11,77.6445 l 42.21,-0.5156 c 2.61,-24.5 18.25,-38.0469 59.93,-38.0469 39.61,0 56.28,13.5469 56.28,32.8321 0,59.4139 -151.65,17.1953 -151.65,116.7379 0,42.207 35.97,71.914 97.98,71.914 61.5,0 93.28,-28.144 95.36,-77.656 l -42.73,0.528 c -2.08,25.019 -21.36,38.039 -53.67,38.039 -34.91,0 -51.59,-12.5 -51.59,-32.825 0,-58.379 151.65,-14.082 151.65,-116.7379" />
<path id="path80" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 6211.84,360.098 V 2.60547 h -46.89 L 5977.86,288.711 V 2.60547 h -45.85 V 360.098 h 46.89 L 6165.99,74.5195 V 360.098 h 45.85" />
<path id="path82" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 6324.9,152.168 h 143.31 c -5.73,45.859 -30.74,69.309 -69.31,69.309 -39.08,0 -66.71,-26.582 -74,-69.309 z m 189.69,-33.875 h -190.73 c 3.64,-48.4688 31.26,-79.211 76.09,-79.211 44.81,0 62.01,23.4571 66.7,44.2969 h 46.38 C 6503.13,36.9922 6467.69,0 6399.42,0 c -79.73,0 -122.99,54.7188 -122.99,129.758 0,76.609 50.56,130.808 121.95,130.808 71.39,0 116.21,-48.464 116.21,-130.808 v -11.465" />
<path id="path84" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 6717.29,6.26172 C 6708.95,2.60547 6693.33,0 6677.16,0 c -59.4,0 -94.84,33.3516 -94.84,86.5039 V 218.352 h -38.57 v 39.609 h 41.18 v 76.082 h 43.25 v -76.082 h 82.86 v -38.566 h -82.86 V 86.5039 c 0,-25.5351 11.98,-46.375 53.68,-46.375 11.47,0 22.4,1.5586 33.35,6.25 l 2.08,-40.11718" />
<path id="path86" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 7111.76,257.961 7033.59,2.60547 h -54.2 L 6927.81,181.875 c -1.57,5.73 -3.14,13.547 -3.65,17.715 h -1.05 c -0.52,-4.168 -2.08,-11.985 -3.64,-17.715 L 6867.88,2.60547 h -54.2 L 6735.5,257.961 h 51.59 l 47.44,-181.3594 c 3.12,-11.4649 6.76,-22.9297 7.81,-27.0977 h 1.04 c 1.04,4.168 4.69,15.6328 7.82,27.0977 l 48.98,181.3594 h 46.9 l 48.99,-181.3594 c 3.12,-11.4649 6.78,-22.9297 7.82,-27.0977 h 1.04 c 1.04,4.168 4.17,13.5547 7.82,27.0977 l 47.42,181.3594 h 51.59" />
<path id="path88" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 7187.81,129.238 c 0,-53.6716 31.79,-90.156 79.22,-90.156 48.45,0 79.72,36.4844 79.72,90.156 0,54.2 -31.27,92.239 -79.72,92.239 -47.43,0 -79.22,-38.039 -79.22,-92.239 z m 205.85,1.563 C 7393.66,53.6719 7343.63,0 7267.03,0 c -75.57,0 -126.12,50.5586 -126.12,127.676 0,77.644 50.55,132.89 126.12,132.89 76.6,0 126.63,-52.109 126.63,-129.765" />
<path id="path90" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 7580.19,258.992 -0.52,-45.332 c -2.09,1.035 -6.77,2.094 -17.19,2.094 -32.32,0 -62.54,-27.102 -62.54,-78.703 V 2.60547 h -45.86 V 257.961 h 43.25 l 1.04,-41.176 c 12.51,25.024 33.88,43.781 67.23,43.781 6.78,0 11.47,-1.046 14.59,-1.574" />
<path id="path92" style="fill:#742189;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 7712.03,116.73 7673.98,75.0508 V 2.60547 h -45.86 V 372.598 h 45.86 V 136.531 l 109.96,121.43 h 57.84 L 7741.72,148.523 7851.68,2.60547 h -53.67 L 7712.03,116.73" />
</g>
</g>
</svg>
</a>
<h1>LIRN Online Proxy URL Encoder</h1>
</header>
<section>
<a href="https://github.com/aander07/ProxyPrefix"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_gray_6d6d6d.png?resize=149%2C149" alt="Fork me on GitHub"></a>
<p>
Welcome to the
<a href="https://github.com/aander07/ProxyPrefix">ProxyPrefix</a> demonstration page.
</p>
<p>
Enter your proxy URL below, copy a URL into the Resource URL field, then use the
Prefix button to encode the URL for use with your proxy server.
</p>
<form id="encoder">
<label for="proxy_url">Proxy URL</label>
<input id="proxy_url" type="url" placeholder="Enter proxy URL here" />
<br/>
<label for="resource_url">Resource URL</label>
<input id="resource_url" type="url" placeholder="Enter the full URL for the resource here" autofocus />
<br/>
<label for="prefixed_url">Prefixed URL</label>
<input id="prefixed_url" type="url" />
<br/>
<button id="prefix_resource_url">Prefix</button>
<button id="test_proxied_url">Test</button>
<button id="clear">Clear</button>
</form>
</section>
<footer>
<p style="font-size:small;">
Copyright © 2017 <a href="https://www.lirn.net/">Library & and Information Resources Network, Inc.</a>
</p>
</footer>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-794141-7', 'proxyprefix.appspot.com');
ga('send', 'pageview');
</script>
</html>