This commit is contained in:
ManeraKai 2023-02-10 04:17:16 +03:00
parent 0adeefca3c
commit a370308749
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
5 changed files with 202 additions and 2 deletions

View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
x="0px"
y="0px"
width="423.263"
height="478.77997"
viewBox="0 0 423.26301 478.77995"
enable-background="new 0 0 599.998 583.111"
xml:space="preserve"
id="svg53"
sodipodi:docname="waybackMachine-icon-light.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs57" /><sodipodi:namedview
id="namedview55"
pagecolor="#b8b8b8"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="1.3342228"
inkscape:cx="-21.7355"
inkscape:cy="190.373"
inkscape:window-width="1888"
inkscape:window-height="1060"
inkscape:window-x="32"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="A" />
<g
id="A"
transform="translate(-139.201,-101.486)">
<rect
x="172.47882"
y="524.3313"
width="356.70737"
height="18.292015"
id="rect18"
style="stroke-width:0.842756;fill:#ffffff" />
<rect
x="186.54947"
y="489.15213"
width="329.2681"
height="25.329027"
id="rect20"
style="stroke-width:0.842756;fill:#ffffff" />
<rect
x="184.43921"
y="200.69115"
width="327.50925"
height="35.178314"
id="rect22"
style="stroke-width:0.842756;fill:#ffffff" />
<polygon
points="347.701,162.012 539.506,162.012 551.193,149.072 347.701,101.486 144.21,149.072 155.897,162.012 "
id="polygon24"
transform="matrix(0.84275583,0,0,0.84275583,55.166366,53.600762)"
style="fill:#ffffff" />
<path
d="m 231.6782,347.23375 c -0.28232,-17.2765 -0.72982,-34.55383 -1.40656,-51.81853 -0.63712,-16.26687 -1.68551,-32.51773 -2.47686,-48.77955 -0.0683,-1.40403 -0.66324,-1.70742 -1.82793,-1.96194 -4.79781,-1.04586 -9.6209,-1.53718 -14.46422,-1.54477 -4.84332,0.008 -9.66641,0.49891 -14.46422,1.54477 -1.16469,0.25367 -1.75967,0.55791 -1.82794,1.96194 -0.79134,16.26182 -1.83973,32.51268 -2.47686,48.77955 -0.67673,17.2647 -1.12508,34.54203 -1.40656,51.81853 -0.19973,12.24355 -0.0758,24.49638 0.11799,36.74331 0.21406,13.58607 0.51577,27.1755 1.06609,40.75146 0.58993,14.56956 1.50179,29.12732 2.30156,43.68762 0.15338,2.79036 0.43908,5.57314 0.65735,8.28513 5.37594,1.39897 10.70637,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65665,-0.87478 16.03343,-2.27375 0.21828,-2.71199 0.50313,-5.49561 0.65651,-8.28513 0.79977,-14.5603 1.71164,-29.11806 2.30156,-43.68762 0.55032,-13.57596 0.85203,-27.16539 1.06609,-40.75146 0.19299,-12.24693 0.31772,-24.49976 0.11714,-36.74331 z"
id="path44"
style="stroke-width:0.842756;fill:#ffffff" />
<path
d="m 320.85104,347.23375 c -0.28232,-17.2765 -0.73067,-34.55383 -1.4074,-51.81853 -0.63797,-16.26687 -1.68636,-32.51773 -2.47686,-48.77955 -0.0683,-1.40403 -0.66241,-1.70742 -1.82794,-1.96194 -4.79696,-1.04586 -9.6209,-1.53718 -14.46337,-1.54477 -4.84332,0.008 -9.66641,0.49891 -14.46422,1.54477 -1.16469,0.25367 -1.75968,0.55791 -1.82794,1.96194 -0.7905,16.26182 -1.83974,32.51268 -2.47686,48.77955 -0.67673,17.2647 -1.12508,34.54203 -1.40656,51.81853 -0.19973,12.24355 -0.0759,24.49638 0.11714,36.74331 0.21491,13.58607 0.51577,27.1755 1.06609,40.75146 0.59077,14.56956 1.50179,29.12732 2.30157,43.68762 0.15338,2.79036 0.43907,5.57314 0.6565,8.28513 5.37679,1.39897 10.70722,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65665,-0.87478 16.03343,-2.27375 0.21743,-2.71199 0.50313,-5.49561 0.65651,-8.28513 0.79893,-14.5603 1.71079,-29.11806 2.30072,-43.68762 0.55032,-13.57596 0.85203,-27.16539 1.06693,-40.75146 0.19468,-12.24693 0.31856,-24.49976 0.11883,-36.74331 z"
id="path46"
style="stroke-width:0.842756;fill:#ffffff" />
<path
d="m 424.26982,347.23375 c -0.28232,-17.2765 -0.72982,-34.55383 -1.4074,-51.81853 -0.63712,-16.26687 -1.68551,-32.51773 -2.47602,-48.77955 -0.0691,-1.40403 -0.66325,-1.70742 -1.82878,-1.96194 -4.79696,-1.04586 -9.62005,-1.53718 -14.46337,-1.54477 -4.84332,0.008 -9.66641,0.49891 -14.46422,1.54477 -1.16469,0.25367 -1.75967,0.55791 -1.82794,1.96194 -0.7905,16.26182 -1.83973,32.51268 -2.47601,48.77955 -0.67758,17.2647 -1.12508,34.54203 -1.40741,51.81853 -0.19973,12.24355 -0.0758,24.49638 0.11799,36.74331 0.2149,13.58607 0.51577,27.1755 1.06609,40.75146 0.59077,14.56956 1.50179,29.12732 2.30156,43.68762 0.15423,2.79036 0.43908,5.57314 0.65651,8.28513 5.37678,1.39897 10.70637,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65665,-0.87478 16.03343,-2.27375 0.21743,-2.71199 0.50312,-5.49561 0.6565,-8.28513 0.79978,-14.5603 1.7108,-29.11806 2.30157,-43.68762 0.54948,-13.57596 0.85118,-27.16539 1.06609,-40.75146 0.19383,-12.24693 0.31772,-24.49976 0.11798,-36.74331 z"
id="path48"
style="stroke-width:0.842756;fill:#ffffff" />
<path
d="m 511.33071,347.23375 c -0.28232,-17.2765 -0.72982,-34.55383 -1.40656,-51.81853 -0.63796,-16.26687 -1.68635,-32.51773 -2.47686,-48.77955 -0.0691,-1.40403 -0.66324,-1.70742 -1.82878,-1.96194 -4.79612,-1.04586 -9.62005,-1.53718 -14.46337,-1.54477 -4.84248,0.008 -9.66641,0.49891 -14.46338,1.54477 -1.16553,0.25367 -1.75967,0.55791 -1.82793,1.96194 -0.79135,16.26182 -1.84058,32.51268 -2.47686,48.77955 -0.67674,17.2647 -1.12508,34.54203 -1.40741,51.81853 -0.19973,12.24355 -0.0758,24.49638 0.11799,36.74331 0.2149,13.58607 0.51577,27.1755 1.06693,40.75146 0.58993,14.56956 1.50179,29.12732 2.30072,43.68762 0.15423,2.79036 0.43908,5.57314 0.65651,8.28513 5.37762,1.39897 10.70721,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65749,-0.87478 16.03343,-2.27375 0.21827,-2.71199 0.50312,-5.49561 0.65651,-8.28513 0.79977,-14.5603 1.71163,-29.11806 2.30156,-43.68762 0.55032,-13.57596 0.85118,-27.16539 1.06609,-40.75146 0.19383,-12.24693 0.31856,-24.49976 0.11798,-36.74331 z"
id="path50"
style="stroke-width:0.842756;fill:#ffffff" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
x="0px"
y="0px"
width="423.263"
height="478.77997"
viewBox="0 0 423.26301 478.77995"
enable-background="new 0 0 599.998 583.111"
xml:space="preserve"
id="svg53"
sodipodi:docname="20210919034708!Internet_Archive_logo_and_wordmark.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs57" /><sodipodi:namedview
id="namedview55"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="1.3342228"
inkscape:cx="68.954003"
inkscape:cy="190.37301"
inkscape:window-width="1888"
inkscape:window-height="1060"
inkscape:window-x="32"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="A" />
<g
id="A"
transform="translate(-139.201,-101.486)">
<rect
x="172.47882"
y="524.3313"
width="356.70737"
height="18.292015"
id="rect18"
style="stroke-width:0.842756" />
<rect
x="186.54947"
y="489.15213"
width="329.2681"
height="25.329027"
id="rect20"
style="stroke-width:0.842756" />
<rect
x="184.43921"
y="200.69115"
width="327.50925"
height="35.178314"
id="rect22"
style="stroke-width:0.842756" />
<polygon
points="347.701,162.012 539.506,162.012 551.193,149.072 347.701,101.486 144.21,149.072 155.897,162.012 "
id="polygon24"
transform="matrix(0.84275583,0,0,0.84275583,55.166366,53.600762)" />
<path
d="m 231.6782,347.23375 c -0.28232,-17.2765 -0.72982,-34.55383 -1.40656,-51.81853 -0.63712,-16.26687 -1.68551,-32.51773 -2.47686,-48.77955 -0.0683,-1.40403 -0.66324,-1.70742 -1.82793,-1.96194 -4.79781,-1.04586 -9.6209,-1.53718 -14.46422,-1.54477 -4.84332,0.008 -9.66641,0.49891 -14.46422,1.54477 -1.16469,0.25367 -1.75967,0.55791 -1.82794,1.96194 -0.79134,16.26182 -1.83973,32.51268 -2.47686,48.77955 -0.67673,17.2647 -1.12508,34.54203 -1.40656,51.81853 -0.19973,12.24355 -0.0758,24.49638 0.11799,36.74331 0.21406,13.58607 0.51577,27.1755 1.06609,40.75146 0.58993,14.56956 1.50179,29.12732 2.30156,43.68762 0.15338,2.79036 0.43908,5.57314 0.65735,8.28513 5.37594,1.39897 10.70637,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65665,-0.87478 16.03343,-2.27375 0.21828,-2.71199 0.50313,-5.49561 0.65651,-8.28513 0.79977,-14.5603 1.71164,-29.11806 2.30156,-43.68762 0.55032,-13.57596 0.85203,-27.16539 1.06609,-40.75146 0.19299,-12.24693 0.31772,-24.49976 0.11714,-36.74331 z"
id="path44"
style="stroke-width:0.842756" />
<path
d="m 320.85104,347.23375 c -0.28232,-17.2765 -0.73067,-34.55383 -1.4074,-51.81853 -0.63797,-16.26687 -1.68636,-32.51773 -2.47686,-48.77955 -0.0683,-1.40403 -0.66241,-1.70742 -1.82794,-1.96194 -4.79696,-1.04586 -9.6209,-1.53718 -14.46337,-1.54477 -4.84332,0.008 -9.66641,0.49891 -14.46422,1.54477 -1.16469,0.25367 -1.75968,0.55791 -1.82794,1.96194 -0.7905,16.26182 -1.83974,32.51268 -2.47686,48.77955 -0.67673,17.2647 -1.12508,34.54203 -1.40656,51.81853 -0.19973,12.24355 -0.0759,24.49638 0.11714,36.74331 0.21491,13.58607 0.51577,27.1755 1.06609,40.75146 0.59077,14.56956 1.50179,29.12732 2.30157,43.68762 0.15338,2.79036 0.43907,5.57314 0.6565,8.28513 5.37679,1.39897 10.70722,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65665,-0.87478 16.03343,-2.27375 0.21743,-2.71199 0.50313,-5.49561 0.65651,-8.28513 0.79893,-14.5603 1.71079,-29.11806 2.30072,-43.68762 0.55032,-13.57596 0.85203,-27.16539 1.06693,-40.75146 0.19468,-12.24693 0.31856,-24.49976 0.11883,-36.74331 z"
id="path46"
style="stroke-width:0.842756" />
<path
d="m 424.26982,347.23375 c -0.28232,-17.2765 -0.72982,-34.55383 -1.4074,-51.81853 -0.63712,-16.26687 -1.68551,-32.51773 -2.47602,-48.77955 -0.0691,-1.40403 -0.66325,-1.70742 -1.82878,-1.96194 -4.79696,-1.04586 -9.62005,-1.53718 -14.46337,-1.54477 -4.84332,0.008 -9.66641,0.49891 -14.46422,1.54477 -1.16469,0.25367 -1.75967,0.55791 -1.82794,1.96194 -0.7905,16.26182 -1.83973,32.51268 -2.47601,48.77955 -0.67758,17.2647 -1.12508,34.54203 -1.40741,51.81853 -0.19973,12.24355 -0.0758,24.49638 0.11799,36.74331 0.2149,13.58607 0.51577,27.1755 1.06609,40.75146 0.59077,14.56956 1.50179,29.12732 2.30156,43.68762 0.15423,2.79036 0.43908,5.57314 0.65651,8.28513 5.37678,1.39897 10.70637,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65665,-0.87478 16.03343,-2.27375 0.21743,-2.71199 0.50312,-5.49561 0.6565,-8.28513 0.79978,-14.5603 1.7108,-29.11806 2.30157,-43.68762 0.54948,-13.57596 0.85118,-27.16539 1.06609,-40.75146 0.19383,-12.24693 0.31772,-24.49976 0.11798,-36.74331 z"
id="path48"
style="stroke-width:0.842756" />
<path
d="m 511.33071,347.23375 c -0.28232,-17.2765 -0.72982,-34.55383 -1.40656,-51.81853 -0.63796,-16.26687 -1.68635,-32.51773 -2.47686,-48.77955 -0.0691,-1.40403 -0.66324,-1.70742 -1.82878,-1.96194 -4.79612,-1.04586 -9.62005,-1.53718 -14.46337,-1.54477 -4.84248,0.008 -9.66641,0.49891 -14.46338,1.54477 -1.16553,0.25367 -1.75967,0.55791 -1.82793,1.96194 -0.79135,16.26182 -1.84058,32.51268 -2.47686,48.77955 -0.67674,17.2647 -1.12508,34.54203 -1.40741,51.81853 -0.19973,12.24355 -0.0758,24.49638 0.11799,36.74331 0.2149,13.58607 0.51577,27.1755 1.06693,40.75146 0.58993,14.56956 1.50179,29.12732 2.30072,43.68762 0.15423,2.79036 0.43908,5.57314 0.65651,8.28513 5.37762,1.39897 10.70721,2.20718 16.03343,2.27375 5.32706,-0.0666 10.65749,-0.87478 16.03343,-2.27375 0.21827,-2.71199 0.50312,-5.49561 0.65651,-8.28513 0.79977,-14.5603 1.71163,-29.11806 2.30156,-43.68762 0.55032,-13.57596 0.85118,-27.16539 1.06609,-40.75146 0.19383,-12.24693 0.31856,-24.49976 0.11798,-36.74331 z"
id="path50"
style="stroke-width:0.842756" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -481,6 +481,15 @@ function redirect(url, type, initiator, forceRedirection) {
if (url.pathname.startsWith('/email')) return
return `${randomInstance}${url.pathname}${url.search}`
}
case "waybackClassic": {
const regex = /^\/\web\/[0-9]+\*\/(.*)/.exec(url.pathname)
console.log('regex', regex)
if (regex) {
const link = regex[1]
return `${randomInstance}/cgi-bin/history.cgi?utf8=✓&q=${encodeURIComponent(link)}`
}
return `${randomInstance}`
}
default: {
return `${randomInstance}${url.pathname}${url.search}`
}
@ -608,7 +617,8 @@ const defaultInstances = {
'anonymousOverflow': ['https://code.whatever.social'],
'biblioReads': ['https://biblioreads.ml'],
'wikiless': ['https://wikiless.org'],
'suds': ['https://sd.vern.cc']
'suds': ['https://sd.vern.cc'],
'waybackClassic': ['https://wayback-classic.net']
}
function initDefaults() {

View File

@ -632,6 +632,26 @@
"imageType": "svg",
"embeddable": false,
"url": "https://www.snopes.com"
},
"waybackMachine": {
"frontends": {
"waybackClassic": {
"name": "Wayback Classic",
"instanceList": true,
"url": "https://github.com/ticky/wayback-classic"
}
},
"targets": [
"^https?:\\/{2}web\\.archive\\.org\\/"
],
"name": "Wayback Machine",
"options": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"imageType": "svgMono",
"embeddable": false,
"url": "https://web.archive.org"
}
}
}

View File

@ -48,6 +48,7 @@ div.some-block input[type="checkbox"] {
display: flex;
align-items: center;
text-decoration: none;
width: min-content;
color: var(--text);
}
@ -110,7 +111,7 @@ section.option-block h2 {
body.option {
display: flex;
padding: 40px;
width: 1130px;
width: 1150px;
}
section.links {