2023-02-06 00:48:53 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2023-02-14 18:38:50 +00:00
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Indie Wiki Buddy</title>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
width: 550px;
|
|
|
|
max-width: 96%;
|
|
|
|
margin: 10px;
|
|
|
|
font-family: Helvetica, Sans-Serif;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 1.2rem;
|
2023-04-09 08:45:46 +00:00
|
|
|
margin: 8px 0;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
hr {
|
|
|
|
height: 1px;
|
|
|
|
border: none;
|
2023-04-09 08:45:46 +00:00
|
|
|
color: #555;
|
|
|
|
background-color: #555;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
.visuallyHidden {
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px !important;
|
|
|
|
height: 1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: -1px !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
|
|
white-space: nowrap !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-09 08:45:46 +00:00
|
|
|
.links {
|
|
|
|
font-size: .8em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
.links a, .links a:visited, .links a:active {
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: 1px black dotted;
|
|
|
|
}
|
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
.options {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
user-select: none;
|
2023-04-09 08:45:46 +00:00
|
|
|
margin-top: 4px;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
|
|
|
.options > div {
|
|
|
|
flex: 50%;
|
2023-04-09 08:45:46 +00:00
|
|
|
}
|
|
|
|
.options > div {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
.options > div:last-child {
|
|
|
|
padding: 0px;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
#controls {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: fit-content;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
.control {
|
|
|
|
background: #ffffff;
|
|
|
|
border: 1px solid #333333;
|
|
|
|
color: #333333;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 3px 5px;
|
|
|
|
margin: 3px 5px;
|
|
|
|
}
|
|
|
|
.control:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background: #3174f1;
|
|
|
|
border: 1px solid#3174f1;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
.settingToggleContainer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
.settingToggle {
|
|
|
|
cursor: pointer;
|
|
|
|
width: fit-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.settingToggle + div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.settingToggle input,
|
|
|
|
.settingToggle label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.settingToggle input {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
appearance: none;
|
|
|
|
}
|
|
|
|
.settingToggle img {
|
|
|
|
width: 30px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-09 08:45:46 +00:00
|
|
|
.columns {
|
|
|
|
display: grid;
|
|
|
|
grid-auto-columns: 1fr;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
}
|
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
#toggles {
|
|
|
|
height: 16em;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
#toggles > div:hover {
|
|
|
|
background-color: #e8f0fe;
|
|
|
|
}
|
|
|
|
#toggles input {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#toggles > div {
|
|
|
|
line-height: 1.2em;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
#toggles img {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
max-height: 1.2em;
|
|
|
|
}
|
|
|
|
#toggles a {
|
|
|
|
float: right;
|
|
|
|
padding-right: 10px;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
#toggles span {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
#togglesKey {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
#togglesKey > div {
|
|
|
|
display: inline-block;
|
|
|
|
width: 17px;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-09 08:45:46 +00:00
|
|
|
#langSelectContainer {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
.footer {
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
.footer a {
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 5px 0px;
|
|
|
|
color: #3174f1;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
#toggles,
|
|
|
|
#powerText,
|
|
|
|
.settingToggleContainer,
|
|
|
|
.footer {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
#breezewikiHost {
|
|
|
|
display: none;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2023-04-09 08:45:46 +00:00
|
|
|
#breezewikiHost > label {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2023-02-14 18:38:50 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
<body>
|
2023-04-09 08:45:46 +00:00
|
|
|
<div class="columns">
|
|
|
|
<div class="links">
|
|
|
|
<h1>Indie Wiki Buddy</h1>
|
|
|
|
<span id="version"></span>
|
|
|
|
<br />
|
|
|
|
<a
|
|
|
|
href="https://getindie.wiki/"
|
|
|
|
target="_blank"
|
|
|
|
>Info & Help</a
|
|
|
|
>
|
|
|
|
<br />
|
|
|
|
<a
|
|
|
|
href="https://getindie.wiki/changelog/"
|
|
|
|
target="_blank"
|
|
|
|
>Changelog</a
|
|
|
|
>
|
|
|
|
<br />
|
|
|
|
<a
|
|
|
|
href="https://getindie.wiki/#submit"
|
|
|
|
target="_blank"
|
|
|
|
>Submit a Wiki</a
|
|
|
|
>
|
|
|
|
<br />
|
|
|
|
<a
|
|
|
|
href="https://github.com/KevinPayravi/indie-wiki-buddy"
|
|
|
|
target="_blank"
|
|
|
|
>Source Code</a
|
|
|
|
>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
2023-04-09 08:45:46 +00:00
|
|
|
<div class="options">
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="power" class="settingToggle">
|
|
|
|
<input id="powerButton" type="checkbox" />
|
|
|
|
<label for="powerButton">
|
|
|
|
<img id="powerImage" src="" alt="" />
|
|
|
|
<span id="powerText"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
2023-04-09 08:45:46 +00:00
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="notifications" class="settingToggle">
|
|
|
|
<input id="notificationsButton" type="checkbox" />
|
|
|
|
<label for="notificationsButton">
|
|
|
|
<img id="notificationsImage" src="" alt="" />
|
|
|
|
<span id="notificationsText"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="searchFilter" class="settingToggle">
|
|
|
|
<input id="searchFilterButton" type="checkbox" />
|
|
|
|
<label for="searchFilterButton">
|
|
|
|
<img id="searchFilterImage" src="" alt="" />
|
|
|
|
<span id="searchFilterText"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
2023-04-09 08:45:46 +00:00
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="breezewiki" class="settingToggle">
|
|
|
|
<input id="breezewikiButton" type="checkbox" />
|
|
|
|
<label for="breezewikiButton">
|
|
|
|
<img id="breezewikiImage" src="" alt="" />
|
|
|
|
<span id="breezewikiText"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
<div>
|
2023-04-09 08:45:46 +00:00
|
|
|
<div>
|
|
|
|
(<a href="https://breezewiki.com/" target="_blank"
|
|
|
|
>learn more</a
|
|
|
|
>)
|
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-09 08:45:46 +00:00
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="breezewikiHost" class="settingToggle">
|
|
|
|
<label for="breezewikiHostSelect">Host: </label>
|
|
|
|
<select name="breezewikiHost" id="breezewikiHostSelect"></select>
|
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<div id="controls">
|
2023-04-09 08:45:46 +00:00
|
|
|
<div id="langSelectContainer">
|
|
|
|
Viewing wikis in:
|
|
|
|
<select name="lang" id="langSelect">
|
|
|
|
<option value="DE">Deutsch</option>
|
|
|
|
<option value="EN" selected>English</option>
|
|
|
|
<option value="ES">Español</option>
|
|
|
|
<option value="FR">Français</option>
|
|
|
|
<option value="IT">Italiano</option>
|
|
|
|
<option value="PL">Polski</option>
|
|
|
|
<option value="TOK">Toki Pona</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
<button id="setAllDisabled" class="control">
|
|
|
|
<img src="images/toggle-disabled.png" width="10" alt="" /> Disable all
|
|
|
|
</button>
|
|
|
|
<button id="setAllRedirect" class="control">
|
|
|
|
<img src="images/toggle-redirect.png" width="10" alt="" /> Set all to
|
|
|
|
redirect
|
|
|
|
</button>
|
|
|
|
<button id="setAllAlert" class="control">
|
|
|
|
<img src="images/toggle-alert.png" width="10" alt="" /> Set all to
|
|
|
|
notify
|
|
|
|
</button>
|
|
|
|
<br />
|
|
|
|
<button id="setAllSearchFilter" class="control">
|
|
|
|
<img src="images/toggle-search-filter.png" width="10" alt="" /> Filter
|
|
|
|
search for all
|
|
|
|
</button>
|
|
|
|
<button id="setNoneSearchFilter" class="control">
|
|
|
|
<img src="images/toggle-search-filter.png" width="10" alt="" /> Filter
|
|
|
|
search for none
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div id="togglesKey">
|
|
|
|
<div>
|
|
|
|
<img
|
|
|
|
src="images/toggle-disabled.png"
|
|
|
|
width="15"
|
|
|
|
alt="Disable"
|
|
|
|
title="Disable"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<img
|
|
|
|
src="images/toggle-redirect.png"
|
|
|
|
width="15"
|
|
|
|
alt="Automatically redirect to indie wiki"
|
|
|
|
title="Automatically redirect to indie wiki"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<img
|
|
|
|
src="images/toggle-alert.png"
|
|
|
|
width="15"
|
|
|
|
alt="Notify of indie wiki with banner"
|
|
|
|
title="Notify of indie wiki with banner"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<img
|
|
|
|
src="images/toggle-search-filter.png"
|
|
|
|
width="15"
|
|
|
|
alt="Filter results from search engines"
|
|
|
|
title="Filter results from search engines"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="toggles"></div>
|
|
|
|
<hr />
|
|
|
|
<div class="footer">
|
2023-04-09 08:45:46 +00:00
|
|
|
Indie wiki alerts: <span id="countAlerts"></span>
|
|
|
|
|
|
|
|
|
Redirections: <span id="countRedirects"></span>
|
|
|
|
|
|
|
|
|
Search engine results filtered: <span id="countSearchFilters"></span>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript" src="popup.js"></script>
|
|
|
|
</html>
|