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>
|
2023-04-12 05:01:06 +00:00
|
|
|
/* ELEMENTS */
|
2023-02-14 18:38:50 +00:00
|
|
|
body {
|
2023-04-14 08:06:43 +00:00
|
|
|
width: max-content;
|
2023-04-12 08:18:16 +00:00
|
|
|
max-width: 600px;
|
2023-04-12 05:01:06 +00:00
|
|
|
background-color: #005799;
|
|
|
|
margin: 0px;
|
2023-02-14 18:38:50 +00:00
|
|
|
font-family: Helvetica, Sans-Serif;
|
2023-04-12 05:01:06 +00:00
|
|
|
font-size: .9em;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
h1 {
|
2023-04-12 05:01:06 +00:00
|
|
|
font-size: 1.3rem;
|
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-12 05:01:06 +00:00
|
|
|
color: #005799;
|
|
|
|
background-color: #005799;
|
|
|
|
margin: 1em 0;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
#openSettingsContainer {
|
|
|
|
width: 100%;
|
2023-02-14 18:38:50 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
#openSettings {
|
|
|
|
background: #3174f1;
|
2023-02-14 18:38:50 +00:00
|
|
|
border: 1px solid #333333;
|
2023-04-12 05:01:06 +00:00
|
|
|
color: #fff;
|
2023-02-14 18:38:50 +00:00
|
|
|
border-radius: 5px;
|
2023-04-12 05:01:06 +00:00
|
|
|
padding: .5em;
|
|
|
|
margin: 0 .5em .5em .5em;
|
|
|
|
font-size: 1.3em;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
#openSettings:hover {
|
2023-02-14 18:38:50 +00:00
|
|
|
cursor: pointer;
|
2023-04-12 05:01:06 +00:00
|
|
|
background: #ffffff;
|
2023-02-14 18:38:50 +00:00
|
|
|
border: 1px solid#3174f1;
|
2023-04-12 05:01:06 +00:00
|
|
|
color: #3174f1;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
/* HEADER */
|
|
|
|
#header {
|
|
|
|
line-height: 1.5em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: #005799;
|
|
|
|
color: #fff;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#header .settingToggle label {
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 20px;
|
|
|
|
height: fit-content;
|
|
|
|
width: fit-content;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
/* POWER TOGGLE */
|
|
|
|
#power {
|
2023-02-14 18:38:50 +00:00
|
|
|
cursor: pointer;
|
|
|
|
width: fit-content;
|
|
|
|
vertical-align: middle;
|
2023-04-12 05:01:06 +00:00
|
|
|
float: right;
|
|
|
|
padding-top: .2em;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
#power > label {
|
2023-02-14 18:38:50 +00:00
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2023-04-12 05:01:06 +00:00
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 20px;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
#power > input {
|
2023-02-14 18:38:50 +00:00
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
appearance: none;
|
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
#power img {
|
2023-02-14 18:38:50 +00:00
|
|
|
width: 30px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
/* CONTENT */
|
|
|
|
#content {
|
2023-04-12 08:18:16 +00:00
|
|
|
padding: 1em;
|
2023-04-12 05:01:06 +00:00
|
|
|
background-color: #e5f4ff;
|
|
|
|
box-sizing: border-box;
|
2023-04-09 08:45:46 +00:00
|
|
|
}
|
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
#links {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: .5em;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
|
|
|
|
/* GLOBAL SETTINGS SECTION */
|
|
|
|
.options {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
user-select: none;
|
|
|
|
width: 100%;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
.options .settingToggleContainer {
|
2023-04-27 14:48:10 +00:00
|
|
|
padding-bottom: .8em;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
.options .settingToggleContainer:last-child {
|
2023-04-27 14:48:10 +00:00
|
|
|
padding-bottom: 0;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
/* GLOBAL SETTING TOGGLES */
|
|
|
|
.settingToggle {
|
|
|
|
cursor: pointer;
|
|
|
|
width: fit-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
.settingToggle + div {
|
|
|
|
display: inline-block;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-04-12 05:01:06 +00:00
|
|
|
.settingToggle input,
|
|
|
|
.settingToggle label {
|
|
|
|
cursor: pointer;
|
2023-02-14 18:38:50 +00:00
|
|
|
}
|
2023-02-06 00:48:53 +00:00
|
|
|
|
2023-02-14 18:38:50 +00:00
|
|
|
#breezewikiHost {
|
|
|
|
display: none;
|
2023-04-27 14:48:10 +00:00
|
|
|
padding-left: 3em;
|
|
|
|
padding-top: 0.8em;
|
2023-04-09 08:45:46 +00:00
|
|
|
}
|
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-12 05:01:06 +00:00
|
|
|
<div id="header">
|
|
|
|
<div id="power">
|
|
|
|
<input id="powerCheckbox" type="checkbox" />
|
|
|
|
<label for="powerCheckbox">
|
|
|
|
<img id="powerImage" src="" alt="" width="30" />
|
|
|
|
</label>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
2023-04-12 05:01:06 +00:00
|
|
|
<h1>Indie Wiki Buddy</h1>
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
2023-04-09 08:45:46 +00:00
|
|
|
<div class="options">
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="notifications" class="settingToggle">
|
2023-04-12 05:01:06 +00:00
|
|
|
<input id="notificationsCheckbox" type="checkbox" />
|
|
|
|
<label for="notificationsCheckbox">
|
2023-04-12 08:18:16 +00:00
|
|
|
<span id="notificationsText">🔔 Desktop notifications when redirected to an indie wiki or BreezeWiki</span>
|
2023-04-09 08:45:46 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="searchFilter" class="settingToggle">
|
2023-04-12 05:01:06 +00:00
|
|
|
<input id="searchFilterCheckbox" type="checkbox" />
|
|
|
|
<label for="searchFilterCheckbox">
|
|
|
|
<span id="searchFilterText">🔎 Filter non-indie wiki results in Google, Bing, & DuckDuckGo</span>
|
2023-04-09 08:45:46 +00:00
|
|
|
</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">
|
2023-04-12 05:01:06 +00:00
|
|
|
<input id="breezewikiCheckbox" type="checkbox" />
|
|
|
|
<label for="breezewikiCheckbox">
|
|
|
|
<span id="breezewikiText">🌬️ Use BreezeWiki on Fandom</span>
|
2023-04-09 08:45:46 +00:00
|
|
|
</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>
|
2023-04-27 14:48:10 +00:00
|
|
|
<div class="settingToggleContainer">
|
|
|
|
<div id="breezewikiHost" class="settingToggle">
|
|
|
|
<label for="breezewikiHostSelect">BreezeWiki host: </label>
|
|
|
|
<select name="breezewikiHost" id="breezewikiHostSelect"></select>
|
|
|
|
</div>
|
2023-04-09 08:45:46 +00:00
|
|
|
</div>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-12 05:01:06 +00:00
|
|
|
<hr/>
|
|
|
|
<div id="openSettingsContainer">
|
|
|
|
<button id="openSettings">
|
|
|
|
View All Settings
|
|
|
|
</button>
|
|
|
|
<br />
|
2023-04-12 08:18:16 +00:00
|
|
|
View all settings to configure your options per-wiki.
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
2023-04-12 05:01:06 +00:00
|
|
|
<hr />
|
|
|
|
<div id="links">
|
|
|
|
<a
|
2023-04-14 07:26:20 +00:00
|
|
|
href="guide.html"
|
2023-04-12 05:01:06 +00:00
|
|
|
target="_blank"
|
|
|
|
>Guide</a
|
|
|
|
>
|
|
|
|
|
2023-04-14 07:26:20 +00:00
|
|
|
<a
|
|
|
|
href="https://getindie.wiki/#guide"
|
|
|
|
target="_blank"
|
|
|
|
>Website</a
|
|
|
|
>
|
|
|
|
|
2023-04-12 05:01:06 +00:00
|
|
|
<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
|
|
|
|
>
|
2023-02-14 18:38:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript" src="popup.js"></script>
|
|
|
|
</html>
|