about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/assets/images/urbanDictionary-icon.svg49
-rw-r--r--src/assets/javascripts/services.js5
-rw-r--r--src/config.json2
-rw-r--r--src/pages/stylesheets/styles.css2
4 files changed, 56 insertions, 2 deletions
diff --git a/src/assets/images/urbanDictionary-icon.svg b/src/assets/images/urbanDictionary-icon.svg
new file mode 100644
index 00000000..2172e286
--- /dev/null
+++ b/src/assets/images/urbanDictionary-icon.svg
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="181.72905mm"
+   height="181.81786mm"
+   viewBox="0 0 181.72905 181.81786"
+   version="1.1"
+   id="svg5"
+   xml:space="preserve"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   sodipodi:docname="urban-dictionary-icon.svg"
+   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"><sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.70710678"
+     inkscape:cx="390.32294"
+     inkscape:cy="346.48232"
+     inkscape:window-width="1888"
+     inkscape:window-height="1060"
+     inkscape:window-x="32"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" /><defs
+     id="defs2" /><g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(208.04028,-57.653256)"><circle
+       style="fill:#134fe6;fill-opacity:1;fill-rule:evenodd;stroke-width:1.84677;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.411765;paint-order:stroke fill markers;stop-color:#000000"
+       id="path1249"
+       cx="-117.17576"
+       cy="148.56218"
+       r="90.864502" /><path
+       style="fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
+       d="m -92.88544,183.05844 c 0.68219,-0.20162 1.95472,-0.57194 2.82784,-0.82295 0.87313,-0.25101 3.20273,-1.13791 5.17689,-1.9709 l 3.5894,-1.51453 3.42206,1.93686 c 1.88214,1.06528 3.55632,1.93855 3.7204,1.9406 0.16408,0.002 0.45492,-0.18494 0.6463,-0.41554 0.36781,-0.44319 0.60929,-0.4324 4.61835,0.20634 1.77927,0.28348 1.96688,0.26015 4.38376,-0.54503 1.96765,-0.65552 2.73994,-1.06136 3.499,-1.83871 0.90519,-0.927 0.97405,-1.11072 0.97405,-2.599 0,-1.99637 -0.35098,-2.34959 -2.55087,-2.56706 -2.07362,-0.205 -4.12628,-0.97564 -6.08667,-2.28515 -2.92704,-1.95523 -2.63971,-1.22615 -3.80839,-9.66358 -0.42328,-3.05594 -1.03085,-6.72247 -1.35015,-8.14786 -0.5653,-2.52358 -0.56841,-2.63009 -0.11848,-4.05742 0.44091,-1.39874 0.44062,-1.4895 -0.006,-1.98348 -0.4488,-0.49592 -0.44548,-0.60503 0.0791,-2.5971 0.53754,-2.0414 0.53838,-2.08862 0.0459,-2.58108 -0.49246,-0.49246 -0.49193,-0.54879 0.0287,-3.07911 l 0.53033,-2.57747 -0.55421,-1.60143 -0.5542,-1.60143 0.58409,-4.61759 0.58409,-4.61758 -0.6048,-1.84481 -0.6048,-1.84481 0.47308,-2.33036 0.47308,-2.33036 -0.92818,-1.45097 -0.92817,-1.45097 -2.44054,-0.32493 c -2.18714,-0.2912 -2.49076,-0.27949 -2.92419,0.11275 -0.45007,0.4073 -0.81959,0.40515 -5.32295,-0.0311 -4.35016,-0.4214 -4.93374,-0.42838 -5.77356,-0.0691 -0.90037,0.38522 -0.94679,0.47429 -1.2797,2.45557 -0.2919,1.73721 -0.28841,2.11288 0.0226,2.42384 0.51498,0.51499 6.81817,1.70933 9.16969,1.7375 1.88356,0.0226 1.9826,0.0564 2.85685,0.97569 0.89331,0.93934 0.90417,0.97927 0.79674,2.92944 -0.14992,2.72134 0.24398,5.87645 0.91074,7.29492 0.30655,0.65216 0.66105,1.24983 0.78777,1.32814 0.12672,0.0783 -0.18626,0.96977 -0.69551,1.98101 -0.85951,1.70675 -0.98734,1.8385 -1.78248,1.83713 -1.36591,-0.002 -2.74087,-0.47103 -6.41282,-2.18588 -3.04934,-1.42409 -3.66921,-1.61996 -5.46358,-1.72633 -11.09549,-0.65777 -20.07107,10.86824 -20.14878,25.8741 -0.0426,8.21439 2.19851,14.07974 7.33403,19.1948 1.93781,1.93008 2.83896,2.60777 4.65229,3.49867 2.2073,1.08444 4.69527,1.84711 6.16799,1.89074 0.40922,0.0121 1.30219,-0.14291 1.98438,-0.34452 z m -5.13478,-12.12777 c -5.6118,-5.77477 -7.06153,-8.06136 -7.21295,-11.37659 -0.0713,-1.56238 0.008,-2.22103 0.32524,-2.70546 0.37566,-0.57333 0.3786,-0.75637 0.0282,-1.74961 -0.59429,-1.68441 -0.51645,-5.11525 0.14716,-6.48609 1.15063,-2.37686 5.91432,-7.16079 8.37801,-8.41359 1.06013,-0.53908 1.81062,-0.5387 5.18447,0.003 l 2.70002,0.43322 1.59462,1.55115 c 1.34689,1.31017 1.74283,1.55115 2.54861,1.55115 0.88347,0 1.03736,0.12796 2.08186,1.73112 l 1.12787,1.73112 -0.48331,1.59628 -0.48331,1.59627 0.9803,4.36848 0.9803,4.36848 -0.79735,1.39362 c -1.02721,1.79538 -2.00858,4.4391 -2.24022,6.03494 -0.18185,1.2529 -0.18559,1.25677 -1.21265,1.25677 -0.97505,0 -1.11449,0.1107 -2.60348,2.06671 l -1.57324,2.0667 -2.99185,1.04215 c -1.64552,0.57318 -3.06603,1.07517 -3.1567,1.11553 -0.0907,0.0404 -1.58538,-1.38839 -3.32157,-3.175 z m -19.68634,11.71535 c 1.23693,-0.27661 3.1351,-0.78305 4.21816,-1.12541 l 1.9692,-0.62247 0.46592,-1.84542 c 0.25626,-1.01499 0.53197,-2.10824 0.6127,-2.42946 0.1302,-0.51806 -0.33401,-0.87085 -4.1092,-3.12288 -6.00974,-3.58503 -5.81246,-3.50514 -6.93817,-2.80941 l -0.92108,0.56926 -0.15342,-0.86293 c -0.0844,-0.47461 -0.64481,-4.35625 -1.2454,-8.62587 l -1.09199,-7.76296 0.55393,-0.38799 c 0.68655,-0.48087 0.68727,-0.86462 0.01,-5.05871 l -0.54444,-3.36906 0.72354,-4.39218 0.72354,-4.39218 -0.59717,-1.47134 c -0.53252,-1.31205 -0.73625,-1.53117 -1.88178,-2.02397 -1.59219,-0.68494 -1.72505,-0.68434 -3.40903,0.0155 l -1.36704,0.56812 -2.94627,-1.0976 -2.94628,-1.09761 -3.01817,1.36417 c -2.67045,1.20701 -3.00058,1.42804 -2.86557,1.91855 0.0839,0.30491 0.22727,1.00087 0.31855,1.54657 l 0.16597,0.99219 h 4.53307 4.53307 l 1.78311,1.19619 c 1.69264,1.13551 1.78312,1.24864 1.78312,2.22976 0,0.78381 -0.15783,1.1577 -0.65313,1.54731 -0.6238,0.49068 -0.67774,0.7737 -1.2012,6.30305 -0.92818,9.80445 -2.13114,16.60659 -3.38374,19.13346 -0.89057,1.79654 -7.59176,4.73501 -12.19627,5.34806 l -2.33173,0.31044 -2.96161,-1.01375 c -1.62888,-0.55757 -3.02706,-1.11967 -3.10706,-1.24912 -0.21158,-0.34235 -1.59518,-8.8909 -1.96226,-12.12387 -0.28469,-2.50731 -0.2618,-3.04476 0.24666,-5.79073 l 0.56049,-3.02691 -0.56148,-0.59767 -0.56149,-0.59767 0.82802,-4.31292 c 1.38272,-7.20225 1.4423,-7.90988 0.80259,-9.53303 -0.30228,-0.76696 -0.57605,-1.42098 -0.60838,-1.45337 -0.0323,-0.0324 -1.83807,-0.54767 -4.01275,-1.14507 l -3.95396,-1.08618 -3.70202,0.15973 -3.70202,0.15973 -1.25892,1.23998 c -0.69243,0.68197 -1.25894,1.36996 -1.25894,1.52884 0,0.64285 1.59398,2.77373 2.07486,2.77373 0.28355,0 0.81568,0.45695 1.23243,1.05833 0.84769,1.22322 1.11917,1.26559 4.25909,0.66482 1.90888,-0.36522 2.09325,-0.36047 2.56542,0.0661 0.88925,0.80347 1.78372,2.92924 2.0056,4.76647 0.21303,1.7639 0.17761,2.31392 -0.50146,7.78673 -0.31701,2.55492 -0.30438,3.0901 0.12863,5.45009 0.45984,2.50619 0.46142,2.96551 0.0374,10.85015 l -0.4428,8.23318 0.67489,1.33183 c 0.37119,0.73251 0.8152,1.33183 0.98669,1.33183 0.17149,0 0.64573,-0.31993 1.05387,-0.71096 0.40815,-0.39103 0.74209,-0.56996 0.74209,-0.39764 0,0.51407 1.86028,2.41461 3.02057,3.08594 0.59426,0.34383 2.28141,0.99528 3.74922,1.44768 l 2.66876,0.82255 6.67135,-2.38488 6.67135,-2.38487 1.77239,0.89212 c 2.24347,1.12924 5.73355,2.36338 9.01072,3.18632 4.24708,1.06649 5.16791,1.11424 8.2398,0.42726 z"
+       id="path302"
+       sodipodi:nodetypes="csscscsssssssssscssscccccccccccssscsccssssscsccsssccccccssccssscccccsssscsscccscssssccscsccccssscccscscccsssssscsssscccsscsccccsssscsssccsssssscccsscc" /></g></svg>
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index 971fb615..7a9f3d91 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -394,6 +394,10 @@ function redirect(url, type, initiator, forceRedirection) {
 		case "dumb": {
 			if (url.pathname.endsWith('-lyrics')) return `${randomInstance}${url.pathname}`
 		}
+		case "ruralDictionary": {
+			if (!url.pathname.endsWith('/define.php') && !url.pathname.endsWith('/random.php') && !url.pathname.endsWith('/')) return
+			return `${randomInstance}${url.pathname}${url.search}`
+		}
 
 	}
 }
@@ -532,6 +536,7 @@ function initDefaults() {
 			options['breezeWiki'] = ['https://breezewiki.com']
 			options['neuters'] = ['https://neuters.de']
 			options['dumb'] = ['https://dm.vern.cc']
+			options['ruralDictionary'] = ['https://rd.vern.cc']
 
 			browser.storage.local.set({ options },
 				() => resolve()
diff --git a/src/config.json b/src/config.json
index c14dcf29..8027bf00 100644
--- a/src/config.json
+++ b/src/config.json
@@ -516,7 +516,7 @@
 			},
 			"imageType": "svg",
 			"embeddable": false,
-			"url": "https://genius.com"
+			"url": "https://urbandictionary.com"
 		}
 	}
 }
\ No newline at end of file
diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css
index 5f3c1cbe..b493af69 100644
--- a/src/pages/stylesheets/styles.css
+++ b/src/pages/stylesheets/styles.css
@@ -110,7 +110,7 @@ section.option-block h2 {
 body.option {
 	display: flex;
 	padding: 40px;
-	width: 1100px;
+	width: 1130px;
 }
 
 section.links {