Adding Russian category + Russian Minecraft Wiki
parent
d5fd6fc6ff
commit
9922585ff1
|
@ -14,6 +14,7 @@ Indie Wiki Buddy is a browser extension that automatically notifies and redirect
|
||||||
![KO wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=KO%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesKO.json)
|
![KO wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=KO%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesKO.json)
|
||||||
![PL wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=PL%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesPL.json)
|
![PL wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=PL%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesPL.json)
|
||||||
![PT wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=PT%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesPT.json)
|
![PT wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=PT%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesPT.json)
|
||||||
|
![RU wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=RU%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesRU.json)
|
||||||
![TOK wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=TOK%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesTOK.json)
|
![TOK wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=TOK%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesTOK.json)
|
||||||
![ZH wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=ZH%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesZH.json)
|
![ZH wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=ZH%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesZH.json)
|
||||||
|
|
||||||
|
|
|
@ -267,7 +267,7 @@ function redirectToBreezeWiki(storage, tabId, url) {
|
||||||
|
|
||||||
// Load website data
|
// Load website data
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||||
const breezewikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
const breezewikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
||||||
const currentURL = new URL(document.location);
|
const currentURL = new URL(document.location);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||||
const currentURL = new URL(document.location);
|
const currentURL = new URL(document.location);
|
||||||
let filteredWikis = [];
|
let filteredWikis = [];
|
||||||
let hiddenWikisRevealed = {};
|
let hiddenWikisRevealed = {};
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "ru-minecraft",
|
||||||
|
"origins_label": "Minecraft Fandom Wiki",
|
||||||
|
"origins": [
|
||||||
|
{
|
||||||
|
"origin": "Minecraft Fandom Wiki",
|
||||||
|
"origin_base_url": "minecraft.fandom.com/ru",
|
||||||
|
"origin_content_path": "/wiki/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"destination": "Minecraft Wiki",
|
||||||
|
"destination_base_url": "ru.minecraft.wiki",
|
||||||
|
"destination_content_path": "/w/",
|
||||||
|
"destination_platform": "mediawiki",
|
||||||
|
"destination_icon": "minecraftwiki.png"
|
||||||
|
}
|
||||||
|
]
|
Binary file not shown.
After Width: | Height: | Size: 616 B |
|
@ -50,6 +50,7 @@
|
||||||
"data/sitesKO.json",
|
"data/sitesKO.json",
|
||||||
"data/sitesPL.json",
|
"data/sitesPL.json",
|
||||||
"data/sitesPT.json",
|
"data/sitesPT.json",
|
||||||
|
"data/sitesRU.json",
|
||||||
"data/sitesTOK.json",
|
"data/sitesTOK.json",
|
||||||
"data/sitesUK.json",
|
"data/sitesUK.json",
|
||||||
"data/sitesZH.json"
|
"data/sitesZH.json"
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
"data/sitesKO.json",
|
"data/sitesKO.json",
|
||||||
"data/sitesPL.json",
|
"data/sitesPL.json",
|
||||||
"data/sitesPT.json",
|
"data/sitesPT.json",
|
||||||
|
"data/sitesRU.json",
|
||||||
"data/sitesTOK.json",
|
"data/sitesTOK.json",
|
||||||
"data/sitesUK.json",
|
"data/sitesUK.json",
|
||||||
"data/sitesZH.json"
|
"data/sitesZH.json"
|
||||||
|
|
2
popup.js
2
popup.js
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||||
|
|
||||||
// Set power setting
|
// Set power setting
|
||||||
function setPower(setting) {
|
function setPower(setting) {
|
||||||
|
|
|
@ -643,6 +643,7 @@
|
||||||
<option value="KO">Korean / 한국어 (KO)</option>
|
<option value="KO">Korean / 한국어 (KO)</option>
|
||||||
<option value="PL">Polish / Polski (PL)</option>
|
<option value="PL">Polish / Polski (PL)</option>
|
||||||
<option value="PT">Portuguese / Português (PT)</option>
|
<option value="PT">Portuguese / Português (PT)</option>
|
||||||
|
<option value="RU">Russian / Русский язык (RU)</option>
|
||||||
<option value="TOK">Toki Pona (TOK)</option>
|
<option value="TOK">Toki Pona (TOK)</option>
|
||||||
<option value="UK">Ukrainian / Українська мова (UK)</option>
|
<option value="UK">Ukrainian / Українська мова (UK)</option>
|
||||||
<option value="ZH">Chinese / 中文 (ZH)</option>
|
<option value="ZH">Chinese / 中文 (ZH)</option>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||||
var sites = [];
|
var sites = [];
|
||||||
|
|
||||||
// Create object prototypes for getting and setting attributes:
|
// Create object prototypes for getting and setting attributes:
|
||||||
|
|
Loading…
Reference in New Issue