2023-02-06 00:48:53 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Indie Wiki Buddy</title>
|
|
|
|
<style>
|
|
|
|
/* ELEMENTS */
|
|
|
|
html {
|
|
|
|
max-width: 600px;
|
|
|
|
}
|
2023-06-29 07:12:05 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
body {
|
|
|
|
width: max-content;
|
|
|
|
max-width: min(100%, 600px);
|
|
|
|
background-color: #005799;
|
|
|
|
margin: 0px;
|
|
|
|
font-family: Helvetica, Sans-Serif;
|
|
|
|
font-size: .9em;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
a {
|
|
|
|
text-decoration-style: dotted;
|
|
|
|
text-decoration-thickness: 1px;
|
|
|
|
color: #005799;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
a:visited {
|
|
|
|
color: #005799;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
hr {
|
|
|
|
height: 1px;
|
|
|
|
border: none;
|
|
|
|
color: #005799;
|
|
|
|
background-color: #005799;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2023-07-01 06:33:11 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
#openSettingsContainer {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
#openSettings {
|
|
|
|
background: #3174f1;
|
|
|
|
border: 1px solid #333333;
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: .5em;
|
|
|
|
margin: 0 .5em .5em .5em;
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
2023-04-09 08:45:46 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
#openSettings:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background: #ffffff;
|
|
|
|
border: 1px solid#3174f1;
|
|
|
|
color: #3174f1;
|
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
/* HEADER */
|
|
|
|
#header {
|
|
|
|
line-height: 1.5em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: #005799;
|
|
|
|
color: #fff;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
#header .settingToggle label {
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 20px;
|
|
|
|
height: fit-content;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
/* NOTIFICATIONS */
|
|
|
|
#notificationBannerContainer {
|
|
|
|
background-color: #f8f3d6;
|
|
|
|
font-size: .9em;
|
|
|
|
line-height: 1.3em;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-11-05 05:52:22 +00:00
|
|
|
#notificationBannerContainer span {
|
|
|
|
padding: 1em;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#notificationBannerContainer span~span[style] {
|
|
|
|
border-top: 1px solid #005799;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* POWER TOGGLE */
|
|
|
|
#power {
|
|
|
|
cursor: pointer;
|
|
|
|
width: fit-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
float: right;
|
|
|
|
padding-top: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#power>label {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 20px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#power>input {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#power img {
|
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CONTENT */
|
|
|
|
#content {
|
|
|
|
padding: 1em;
|
|
|
|
background-color: #e5f4ff;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#links {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* GLOBAL SETTINGS SECTION */
|
|
|
|
.options {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
user-select: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options .settingToggleContainer {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options .settingToggleContainer:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options .settingToggleContainer>div {
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* GLOBAL SETTING TOGGLES */
|
|
|
|
.settingToggle {
|
|
|
|
cursor: pointer;
|
|
|
|
width: fit-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settingToggle+div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settingToggle input,
|
|
|
|
.settingToggle label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#breezewikiHost {
|
|
|
|
display: none;
|
|
|
|
padding-left: 3em;
|
|
|
|
padding-top: 0.8em;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
|
|
|
<div id="power">
|
|
|
|
<input id="powerCheckbox" type="checkbox" />
|
|
|
|
<label for="powerCheckbox">
|
|
|
|
<img id="powerImage" src="" alt="" width="20" />
|
|
|
|
</label>
|
2023-04-12 05:01:06 +00:00
|
|
|
</div>
|
2023-11-05 05:52:22 +00:00
|
|
|
<h1>Indie Wiki Buddy</h1>
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
<div class="options">
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div class="settingToggle">
|
|
|
|
<label>
|
2023-10-16 05:47:02 +00:00
|
|
|
<input id="notificationsCheckbox" type="checkbox" />
|
2023-11-05 05:52:22 +00:00
|
|
|
<span id="notificationsIcon" aria-hidden="true"></span>
|
|
|
|
Desktop notifications for
|
|
|
|
redirections
|
|
|
|
</label>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
2023-11-05 05:52:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div class="settingToggle">
|
|
|
|
<label>
|
|
|
|
<input id="crossLanguageCheckbox" type="checkbox" />
|
|
|
|
<span id="crossLanguageIcon" aria-hidden="true"></span>
|
|
|
|
Redirect non-English Fandom/Fextralife wikis to
|
|
|
|
English indie wikis when no same-language wiki exists
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div class="settingToggle">
|
|
|
|
<label>
|
2023-04-12 05:01:06 +00:00
|
|
|
<input id="breezewikiCheckbox" type="checkbox" />
|
2023-11-05 05:52:22 +00:00
|
|
|
🌬️ Use BreezeWiki on Fandom (English only)
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
(<a href="https://breezewiki.com/" target="_blank">learn more</a>)
|
|
|
|
</div>
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="breezewikiHost" class="settingToggle">
|
|
|
|
<label for="breezewikiHostSelect">BreezeWiki host: </label>
|
|
|
|
<select name="breezewikiHost" id="breezewikiHostSelect"></select>
|
2023-04-09 08:45:46 +00:00
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-05 05:52:22 +00:00
|
|
|
<hr />
|
|
|
|
<div id="openSettingsContainer">
|
|
|
|
<button id="openSettings">
|
|
|
|
View All Settings
|
|
|
|
</button>
|
|
|
|
<br />
|
|
|
|
View all settings to configure your options per-wiki.
|
2023-07-01 06:33:11 +00:00
|
|
|
</div>
|
2023-11-05 05:52:22 +00:00
|
|
|
<hr />
|
|
|
|
<div id="links">
|
|
|
|
<a href="guide.html" target="_blank">Guide</a>
|
|
|
|
|
|
|
|
<a href="https://getindie.wiki/#guide" target="_blank">Website</a>
|
|
|
|
|
|
|
|
<a href="https://getindie.wiki/changelog/" target="_blank">Changelog</a>
|
|
|
|
|
|
|
|
<a href="https://getindie.wiki/#submit" target="_blank">Submit a Wiki</a>
|
|
|
|
|
|
|
|
<a href="https://github.com/KevinPayravi/indie-wiki-buddy" target="_blank">Source Code</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="notificationBannerContainer">
|
|
|
|
<span id="notificationBannerChromeBug">
|
|
|
|
Chromium users: Due to a <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=1271154"
|
|
|
|
target="_blank">browser bug</a>,
|
|
|
|
this extension may stop working after an update. If this happens, try turning the extension off
|
|
|
|
and on via your browser's extension settings (chrome://extensions/).
|
|
|
|
<a id="chromeBugHideLink" href="#">Hide this message</a>
|
|
|
|
</span>
|
|
|
|
<span id="notificationBannerOpera">
|
|
|
|
Opera users: By default, Opera will block extensions from running on search engines.
|
|
|
|
Search engine access can be enabled per-extension by going to "about:extensions"
|
|
|
|
and selecting the "Allow access to search page results" option under Indie Wiki Buddy.
|
|
|
|
<a id="operaPermsHideLink" href="#">Hide this message</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript" src="popup.js"></script>
|
|
|
|
|
|
|
|
</html>
|