Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Shemmy Improved
- // @namespace shemmy-x
- // @match http*://soygem.party/*
- // @version 0.9
- // @author Garteen
- // @license MIT
- // @icon https://booru.soy/_images/476f11d51ef81dbaac9a9c55c5bc35f1/28714%20-%20SoyBooru.jpg
- // @description General improvements for soygem.party
- // ==/UserScript==
- const board = document.querySelector("form[name='post'] input[name='board']").value
- const postButton = document.querySelector("form[name='post'] input[name='post']")
- const autoButton = document.createElement('input')
- const diffDisplay = document.createElement('input')
- const latestDisplay = document.createElement('input')
- let target = 0
- let latest
- let diff
- addButtons()
- main()
- async function main() {
- while(true) {
- poll()
- if (diff < 5 && diff > 0) {
- await sleep(200)
- }
- else if (diff > 25 || diff < 0){
- await sleep(3000)
- }
- else {
- await sleep(1000)
- }
- }
- }
- async function autoPost() {
- if (autoButton.checked == true && diff == 1) {
- postButton.click()
- autoButton.checked = false
- console.log("posted, hopefully you got that GET")
- }
- }
- async function poll() {
- latest = await getLatestPost(board)
- diff = target - latest
- autoPost()
- updateUI()
- }
- function updateUI() {
- latestDisplay.value = "No. " + latest
- if (target > latest) {
- diffDisplay.value = "Posts till GET: " + diff
- }
- else {
- diffDisplay.value = "Posts till GET: " + "N/A"
- }
- }
- async function getLatestPost(board) {
- let postNo = 0
- const url = document.location.origin + "/" + board + "/" + "0.json"
- const response = await fetch(url)
- data = await response.json()
- for (i = 0; i < data.threads.length - 1; i++) {
- const posts = data.threads[i].posts
- if (posts[posts.length - 1].no > postNo) {
- postNo = posts[posts.length - 1].no
- }
- else if (posts[0].sticky != 1) {
- break
- }
- }
- return postNo
- }
- function findNextRepeating(num, count) {
- num += 1
- const digits = getLastDigits(num, count)
- let repeating = true
- for (i = 0; i < digits.length-1; i++) {
- if (digits[i] != digits[i+1]) {
- repeating = false
- break
- }
- }
- if (repeating == false) {
- num = findNextRepeating(num, count)
- }
- return num
- }
- function getLastDigits(num, count) {
- const digits = Array(count)
- for (i = 1; i <= count; i++) {
- let digit = num % (10**i)
- if (i > 1) {
- digit = digit / (10**(i-1))
- }
- digits[i-1] = Math.trunc(digit)
- }
- return digits
- }
- function setRepeating(num) {
- target = findNextRepeating(latest, num)
- document.getElementById('target-input').value = target
- poll()
- }
- function sleep(ms) {
- return new Promise(resolve => setTimeout(resolve, ms));
- }
- function addButtons() {
- const postForm = document.getElementsByName('post')[0]
- const container = document.createElement('div')
- container.setAttribute('style', 'margin-left : 25%; width: 50%; text-align: center')
- latestDisplay.setAttribute('id', 'latest-display')
- latestDisplay.setAttribute('readonly', true)
- latestDisplay.setAttribute('title', 'Latest post number')
- latestDisplay.value = "No. "
- diffDisplay.setAttribute('id', 'diff-display')
- diffDisplay.setAttribute('readonly', true)
- diffDisplay.value = "Posts till GET: "
- const targetInput = document.createElement('input')
- targetInput.setAttribute('name', 'target-input')
- targetInput.setAttribute('id', 'target-input')
- targetInput.setAttribute('type', 'number')
- targetInput.setAttribute('min', 1)
- targetInput.setAttribute('placeholder', 'Target Post Number')
- targetInput.addEventListener("input", function(){ target = targetInput.value; poll(); })
- autoButton.setAttribute('name', 'auto-button')
- autoButton.setAttribute('id', 'auto-button')
- autoButton.setAttribute('type', 'checkbox')
- const autoLabel = document.createElement('label')
- autoLabel.setAttribute('for', 'auto-button')
- autoLabel.innerHTML = "Auto Post"
- const dubsButton = document.createElement('input')
- dubsButton.setAttribute('id', 'dubs-button')
- dubsButton.setAttribute('type', 'button')
- dubsButton.setAttribute('value', 'Dubs')
- dubsButton.addEventListener("click", function(){ setRepeating(2); })
- const tripsButton = document.createElement('input')
- tripsButton.setAttribute('id', 'trips-button')
- tripsButton.setAttribute('type', 'button')
- tripsButton.setAttribute('value', 'Trips')
- tripsButton.addEventListener("click", function(){ setRepeating(3); })
- const quadsButton = document.createElement('input')
- quadsButton.setAttribute('id', 'quads-button')
- quadsButton.setAttribute('type', 'button')
- quadsButton.setAttribute('value', 'Quads')
- quadsButton.addEventListener("click", function(){ setRepeating(4); })
- container.appendChild(latestDisplay)
- container.appendChild(diffDisplay)
- container.appendChild(document.createElement('div'))
- container.appendChild(dubsButton)
- container.appendChild(tripsButton)
- container.appendChild(quadsButton)
- container.appendChild(targetInput)
- container.appendChild(autoButton)
- container.appendChild(autoLabel)
- postForm.parentNode.insertBefore(container, postForm.nextSibling)
- }
- // <reddit space
- // <reddit space
- // <reddit space
- (function () {
- function insert_after(new_node, ref_node) {
- ref_node.parentNode.insertBefore(new_node, ref_node.nextSibling);
- }
- function mass_reply() {
- let form_textarea = document.getElementById('body');
- let post_no_nodes = document.getElementsByClassName("post_no");
- for(const node of post_no_nodes) {
- let post_no_text = node.textContent;
- if(!post_no_text.includes("No")) {
- form_textarea.value += `>>${post_no_text}\n`;
- }
- }
- form_textarea.focus();
- }
- function add_button() {
- let ref_node = document.querySelectorAll(".op .intro .post_no")[1];
- let button = document.createElement("input");
- button.type = "button";
- button.value = "Mass Reply";
- button.style.marginLeft = "5px";
- button.addEventListener("click", function() {
- mass_reply();
- }, false);
- insert_after(button, ref_node);
- }
- add_button();
- })();
- // <reddit space
- // <reddit space
- // <reddit space
- (function ShemmyX() {
- // true = hide posts where the e-mail is "sage".
- const _hideMailtoSage = true;
- // true = scrub email, trip, and force all names to be "Chud".
- // - Emailfags and tripfags are already hidden.
- // - Namefags aren't hidden, but turning this on will anonymize them.
- // false = don't change posts (default).
- const _enableForcedAnonymity = false;
- // Sets the limit for a post to be considered a flood post.
- // If one of the criteria is met, the post is hidden.
- const floodThresholdLines = 30;
- const floodThresholdCharacters = 3000;
- hidePosts();
- forcedAnonymity(); // Must come AFTER hidePosts()
- highlightTripleParentheses();
- highlightDatamining();
- inlineYoutubePreviews();
- replaceCoalAndGemsWithIcon();
- replaceBumpAndSageWithIcons();
- function hidePosts() {
- $(".post").each((i, el) => {
- const $el = $(el);
- const reasons = [];
- const isOp = $el.hasClass("op");
- if ($el.has(".trip").length) {
- reasons.push("tripfag");
- }
- if (_hideMailtoSage && $el.has('a.email[href^="mailto:sage"]').length) {
- reasons.push("sagefag");
- }
- if ($el.has('a.email:not([href^="mailto:sage"])').length) {
- reasons.push("emailfag");
- }
- const body = $el.has(".body");
- const bodyLines = body.html().split("<br>").length;
- const bodyLength = body.text().length;
- if (
- bodyLines > floodThresholdLines ||
- bodyLength > floodThresholdCharacters
- ) {
- reasons.push(
- `possible flooding: ${bodyLength} characters in ${bodyLines} lines`
- );
- }
- if (reasons.length) {
- const $notice = $("<div>")
- .addClass(`post ${isOp ? "op" : "reply"}`)
- .html(
- `<div class='body'><em>Post hidden (${reasons.join(
- ", "
- )}). Click to show.</em></div>`
- )
- .after($("<br>"));
- $notice.click(() => {
- $el.show();
- if (isOp) $el.prev(".files").show();
- $notice.hide();
- });
- $el.after($notice);
- $el.hide();
- if (isOp) $el.prev(".files").hide();
- }
- });
- }
- function forcedAnonymity() {
- if (!_enableForcedAnonymity) return;
- // Remove all emails.
- $("a.email").prop("outerHTML", "<span class='name'>Chud</span>");
- // Remove all tripcodes.
- $(".trip").prop("outerHTML", "");
- // Set all names to Chud.
- // Make sure not to overwrite (You)'s.
- $(".name")
- .filter((i, el) => !$(el).has(".own_post").length)
- .text("Chud");
- }
- function replaceWordWithIcon(re, icon) {
- const matchesRe = (index, post) => $(post).html().match(re);
- const template = (match) =>
- `<img src="${icon}" style="max-height:2em; vertical-align:middle">`;
- const applyTemplate = (index, post) => {
- const $post = $(post);
- const html = $post.html();
- $post.html(html.replace(re, template));
- };
- $("div.body").filter(matchesRe).each(applyTemplate);
- }
- function replaceCoalAndGemsWithIcon() {
- replaceWordWithIcon(/coal/gi, "https://i.imgur.com/O9iRcRv.png");
- replaceWordWithIcon(/gems?/gi, "https://i.imgur.com/BvjFdau.png");
- }
- function replaceBumpAndSageWithIcons() {
- // replaceWordWithIcon(/bump/gi, "https://i.imgur.com/zM2xOGh.png");
- // replaceWordWithIcon(/sage/gi, "https://i.imgur.com/2bsauzj.png");
- replaceWordWithIcon(/bump/gi, "https://i.imgur.com/Y7cpsW0.png");
- replaceWordWithIcon(/\bsage\b/gi, "https://i.imgur.com/ZarQtY3.png");
- }
- function highlightTripleParentheses() {
- const re = /\(\(\(.+?\)\)\)/g;
- const hasRe = (i, post) => post.innerHTML.match(re);
- const template = (match) =>
- `<span style='background-color:white;color:#0038B8;font-family:monospace;'>${match}</span>`;
- const applyTemplate = (i, post) => {
- post.innerHTML = post.innerHTML.replace(re, template);
- };
- $("div.body").filter(hasRe).each(applyTemplate);
- }
- function highlightDatamining() {
- const reGlowie =
- /data(\s*|-)min(ing|er|ed)|(sell|selling|sold)\s+(my|our)?\s+data|cuckflare|cloudflare|cloud fleur/i;
- const hasReGlowie = (i, post) => post.innerHTML.match(reGlowie);
- const applyTemplate = (i, post) =>
- $(post).css({
- backgroundColor: "#D7EFD7",
- boxShadow: "#66FF66 0 0 2rem 0",
- });
- $(".reply").filter(hasReGlowie).each(applyTemplate);
- }
- function inlineYoutubePreviews() {
- const re = /(?:youtu\.be\/|\/watch\?v=)(.{11})/;
- const previewTemplate = (videoId) =>
- `<a href="https://youtube.com/watch?v=${videoId}">https://youtube.com/watch?v=${videoId}</a><br><img style="max-width:255px;max-height:255px" src="https://i.ytimg.com/vi/${videoId}/hqdefault.jpg" /><br><em>Watch on <a href="https://yewtu.be/${videoId}">Invidious</a> (less datamining)</em><br>`;
- $(".body a")
- .filter(function (i) {
- return $(this).prop("href").match(re);
- })
- .each(function (i) {
- $(this).prop("outerHTML", previewTemplate(this.href.match(re)[1]));
- });
- }
- })();
- // <reddit space
- // <reddit space
- // <reddit space
- const version = "v1.0";
- console.log(`Garty Themes ${version}`);
- const namespace = "GartyThemes.";
- function setValue(key, value) {
- if (key == "hiddenthreads" || key == "hiddenimages") {
- if (typeof GM_setValue == "function") {
- GM_setValue(key, value);
- }
- localStorage.setItem(key, value);
- } else {
- if (typeof GM_setValue == "function") {
- GM_setValue(namespace + key, value);
- } else {
- localStorage.setItem(namespace + key, value);
- }
- }
- }
- function getValue(key) {
- if (key == "hiddenthreads" || key == "hiddenimages") {
- if (typeof GM_getValue == "function" && GM_getValue(key)) {
- localStorage.setItem(key, GM_getValue(key).toString());
- }
- return localStorage.getItem(key);
- }
- if (typeof GM_getValue == "function") {
- return GM_getValue(namespace + key);
- } else {
- return localStorage.getItem(namespace + key);
- }
- }
- function themeEnabled(key) {
- let value = getValue(key);
- if (value == null) {
- value = optionsEntries[key][2];
- setValue(key, value);
- }
- return value.toString() == "true";
- }
- function getNumber(key) {
- let value = parseInt(getValue(key));
- if (Number.isNaN(value)) {
- value = 0;
- }
- return value;
- }
- function getJson(key) {
- let value = getValue(key);
- if (value == null) {
- value = "{}";
- }
- return JSON.parse(value);
- }
- function addToJson(key, jsonKey, value) {
- let json = getJson(key);
- let parent = json;
- jsonKey.split(".").forEach((e, index, array) => {
- if (index < array.length - 1) {
- if (!parent.hasOwnProperty(e)) {
- parent[e] = {};
- }
- parent = parent[e];
- } else {
- parent[e] = value;
- }
- });
- setValue(key, JSON.stringify(json));
- return json;
- }
- function removeFromJson(key, jsonKey) {
- let json = getJson(key);
- let parent = json;
- jsonKey.split(".").forEach((e, index, array) => {
- if (index < array.length - 1) {
- parent = parent[e];
- } else {
- delete parent[e];
- }
- });
- setValue(key, JSON.stringify(json));
- return json;
- }
- function customAlert(a) {
- document.body.insertAdjacentHTML("beforeend", `
- <div id="alert_handler">
- <div id="alert_background" onclick="this.parentNode.remove()"></div>
- <div id="alert_div">
- <a id='alert_close' href="javascript:void(0)" onclick="this.parentNode.parentNode.remove()"><i class='fa fa-times'></i></a>
- <div id="alert_message">${a}</div>
- <button class="button alert_button" onclick="this.parentNode.parentNode.remove()">OK</button>
- </div>
- </div>`);
- }
- const optionsEntries = {
- "underwater": ["checkbox", "Underwater Theme", false],
- "soot": ["checkbox", "Soot Theme", false],
- "cia": ["checkbox", "CIA Theme", false],
- "colorjak": ["checkbox", "Colorjak Theme", false],
- "cafe": ["checkbox", "Crystal Theme", false],
- "calm": ["checkbox", "Calm Theme", false],
- }
- let options = Options.add_tab("garty-themes", "gear", "Shemmy Themes").content[0];
- let optionsHTML = `<span style="display: block; text-align: center">${version}</span>`;
- optionsHTML += `<span style="display: block; text-align: center"><h1></h1></span>`;
- for ([optKey, optValue] of Object.entries(optionsEntries)) {
- optionsHTML += `<input type="${optValue[0]}" id="${optKey}" name="${optKey}"><label for="${optKey}">${optValue[1]}</label><br>`;
- }
- options.insertAdjacentHTML("beforeend", optionsHTML);
- options.querySelectorAll("input[type=checkbox]").forEach(e => {
- e.checked = themeEnabled(e.id);
- e.addEventListener("change", e => {
- setValue(e.target.id, e.target.checked);
- });
- });
- document.head.insertAdjacentHTML("beforeend", `
- <style>
- ${themeEnabled("calm") ? `
- html, body {
- background: #fafcff;
- background-image: url(https://file.garden/ZCftkBQZY2RSmYgu/sdjasd);
- background-position: bottom right;
- background-repeat: no-repeat;
- background-attachment: fixed;
- background-size: 200px;
- }
- div.post.reply {
- background: #fafcff url('/stylesheets/img/fade-blue.png') margin: 0.3em 6px;
- padding: 0.2em 0.3em 0.5em 0.6em;
- border-width: 1px;
- border-style: none solid solid none;
- border-radius: 0.7em;
- box-shadow: 0.1rem 0.2rem 0.1rem 0.02rem rgba(1,2,3,.5)
- margin-top 20px;
- }
- div.post.reply div.body {
- overflow-y: auto;
- max-height: 70vh;
- }
- .intro span.name {
- font-style: italic;
- color: rgb(129, 123, 204);
- }
- .post-image {
- box-shadow: 0.1rem 0.2rem 0.1rem 0.03rem rgba(0,0,0,.2);
- }
- h1 {
- font-family: tahoma;
- letter-spacing: -2px;
- font-size: 20pt;
- margin: 0;
- text-shadow: 20px;
- }
- header div.subtitle, h1 {
- color: #9cc3ff;
- text-align: center;
- text-shadow: 20px;
- font-family: Arial, Helvetica, sans-serif;
- }
- span.heading {
- color: #9a2ea1;
- font-size: 11pt;
- font-weight: bold;
- }
- div.blotter {
- color: #9cc3ff;
- text-align: center;
- }
- ` : ""}
- ${themeEnabled("underwater") ? `
- a:link, a:visited {
- text-decoration: none;
- color: #00637B;
- }
- a:link:hover, a:visited:hover {
- color: #DD0000;
- }
- a.post_no {
- color: #000033;
- }
- .intro a.email span.name {
- color: #0093AB;
- }
- .intro a.email:hover span.name {
- color: #DD0000;
- }
- h2, div.title, h1 {
- color: #800000;
- }
- form table tr th {
- background: #95D2D3;
- }
- div.banner {
- background-color: #E04000;
- }
- div.post.op hr {
- border-color: #B7C9D5;
- }
- .intro span.subject {
- color: #117743;
- font-weight: 800;
- }
- .intro span.name {
- color: #117743;
- font-weight: 800;
- }
- div.post.reply.highlighted {
- background: #a9d8ff;
- }
- div.post.reply {
- background: #B6DDDE;
- border-color: #8FCCCD;
- }
- div.ban {
- border: 1px solid #0093AB;
- }
- div.ban h2 {
- background: #B6DDDE;
- color: #0093AB;
- }
- div.pages {
- color: #8899AA;
- background: #B6DDDE;
- border-right: 1px solid #8FCCCD;
- border-bottom: 1px solid #8FCCCD;
- }
- hr {
- border-color: #B7D9C5;
- }
- div.boardlist {
- color: #0093AB;
- background-color: rgba(65%, 85%, 95%, 0.2);
- }
- .desktop-style div.boardlist:nth-child(1) {
- text-shadow: #D2FFEE 1px 1px 1px, #D2FFEE -1px -1px 1px;
- }
- * {
- background-image: url('https://files.catbox.moe/hp03xs.png');
- }
- .soifish {
- background-image: url('https://files.catbox.moe/rxmvyr.png');
- position: fixed;
- pointer-events: none;
- -webkit-animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- -moz-animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- -o-animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- }
- @-webkit-keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @-moz-keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @-o-keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @-webkit-keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- @-moz-keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- @-o-keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- @keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- .post.reply .body a:hover:after {
- content: url(https://soyjak.download/f.php?h=0lnyi5TW&p=1);
- display: block;
- position: absolute;
- left: 20px;
- top: -255px;
- pointer-events: none;
- z-index: 999;
- }
- .post.reply .body a:hover {
- position: relative;
- }
- body:after {
- content: url(https://soyjak.download/f.php?h=3EFSgyRY&p=1);
- display: block;
- position: fixed;
- bottom: 0px;
- right: 0px;
- pointer-events: none;
- .desktop-style div.boardlist:nth-child(1):hover, .desktop-style div.boardlist:nth-child(1).cb-menu {
- background-color: rgba(70%, 95%, 100%, 0.45);
- }` : ""}
- ${themeEnabled("soot") ? `
- @import url("/stylesheets/dark.css");
- /*soot theme*/
- .name {
- color: #FDD73A !important;
- }
- body {
- background: black url(https://i.imgur.com/FeQmhfL.png) right bottom no-repeat fixed;
- }
- div.post.reply {
- background-color: #646464 !important;
- color: black;
- border-radius:0;
- }
- div#post-moderation-fields , div#style-select {
- padding:4px;
- background-color:rgba(0,0,0,28);
- }
- span.heading {
- color: #FF565C !important;
- }
- .remove-btn {
- color: rgba(255,255,255,128) !important;
- }
- hr {
- border-color:transparent;
- }
- ` : ""}
- ${themeEnabled("colorjak") ? `
- *{
- background-image: url('https://soyjak.download/f.php?h=0ubQjIwX&p=1');
- }
- .soifish {
- background-image: ('https//files.catbox.moe/rxmvyr.png');
- position: absolute;
- -webkit-animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- -moz-animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- -o-animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- animation: moveX 30s linear 0s infinite alternate, moveY 30s linear 0s infinite alternate;
- }
- @-webkit-keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @-moz-keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @-o-keyframes moveX {
- from { left: 0; } to { left: 100%; }
- }
- @keyframes moveX {
- from { left: 0; } to { left: 100%;}
- }
- @-webkit-keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- @-moz-keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- @-o-keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- @keyframes moveY {
- from { top: 0; } to { top: 100%; }
- }
- ` : ""}
- ${themeEnabled("cafe") ? `
- body{background:#fdfdfe;color:#666;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;margin:0 8px;padding-left:5px;padding-right:5px}table *{margin:0}a,a:visited{text-decoration:none;color:#2b0f51!important}a.post_no{text-decoration:none;margin:0;padding:0}p.intro a.post_no{color:inherit}p.intro a.post_no,p.intro a.email{margin:0}p.intro a.email span.name{color:#34345c}p.intro a.email:hover span.name{color:red}p.intro label{display:inline}p.intro time,p.intro a.ip-link,p.intro a.capcode{direction:ltr;unicode-bidi:embed}h2{color:#af0a0f;font-size:11pt;margin:0;padding:0}header{margin:1em 0}h1{font-family:tahoma;letter-spacing:-2px;font-size:20pt;margin:0}header div.subtitle,h1{color:#af0a0f;text-align:center}header div.subtitle{font-size:8pt}form{margin-bottom:2em!important}form table{margin:auto}form table input{height:auto}input[type=text],input[type=password],textarea{border:1px solid #a9a9a9;text-indent:0;text-shadow:none;text-transform:none;word-spacing:normal}form table tr td{text-align:left;margin:0;padding:0}form table.mod tr td{padding:2px}form table tr th{text-align:left;padding:4px}form table tr th{background:#98e}form table tr td div{text-align:center;float:left;padding-left:3px}form table tr td div input{display:block;margin:2px auto 0}form table tr td div label{font-size:10px}.unimportant,.unimportant *{font-size:10px}p.fileinfo{display:block;margin:0;padding-right:7em}div.banner{background-color:#ffb0aa;text-align:center;font-size:12pt;font-weight:700;text-align:center;margin:1em 0;padding-bottom:2px}div.banner,div.banner a{color:#fff}div.banner a:hover{color:#eef2ff;text-decoration:none}img.banner{display:block;width:300px;height:100px;border:1px solid #a9a9a9;margin:20px auto 0}img.post-image{display:block;float:left;margin:10px 20px;border:none}div.post img.post-image{padding:5px;margin:5px 20px 0 0}div.post img.icon{display:inline;margin:0 5px;padding:0}div.post i.fa{margin:0 4px;font-size:16px}div.post.op{margin-right:20px;margin-bottom:5px}div.post.op hr{border-color:#d9bfb7}p.intro{margin:.5em 0;padding:0;padding-bottom:.2em}input.delete{float:left;margin:1px 6px 0 0}p.intro span.subject{color:#0f0c5d;font-weight:700}p.intro span.name{color:#117743;font-weight:700}p.intro span.capcode,p.intro a.capcode,p.intro a.nametag{color:#f00000;margin-left:0}p.intro a{margin-left:8px}div.delete{float:right}div.post.reply p{margin:.3em 0 0}div.post.reply div.body{margin-left:1.8em;margin-top:.8em;padding-right:3em;padding-bottom:.3em}div.post.reply.highlighted{background:#d6bad0}div.post.reply div.body a{color:#d00}div.post{max-width:97%}div.post div.body{word-wrap:break-word;white-space:pre-wrap}div.post.reply{background:#d6daf0;margin:.2em 16px;padding:.2em .3em .5em .7em;border-width:1px;border-style:none solid solid none;border-color:#b7c5d9;display:inline-block}span.trip{color:#228854}span.quote{color:#789922}span.omitted{display:block;margin-top:1em}br.clear{clear:left;display:block}span.controls{float:right;margin:0;padding:0;font-size:80%}span.controls.op{float:none;margin-left:10px}span.controls a{margin:0}div#wrap{width:900px;margin:0 auto}div.ban{background:#fff;border:1px solid #98e;max-width:700px;margin:30px auto}div.ban p,div.ban h2{padding:3px 7px}div.ban h2{background:#98e;color:#000;font-size:12pt}div.ban p{font-size:12px;margin-bottom:12px}div.ban p.reason{font-weight:700}span.heading{color:#af0a0f;font-size:11pt;font-weight:700}span.spoiler{background:#000;color:#000;padding:0 1px}div.post.reply div.body span.spoiler a{color:#000}span.spoiler:hover,div.post.reply div.body span.spoiler:hover a{color:#fff}div.styles{float:right;padding-bottom:20px}div.styles a{margin:0 10px}div.styles a.selected{text-decoration:none}table.test{width:100%}table.test td,table.test th{text-align:left;padding:5px}table.test tr.h th{background:#98e}table.test td img{margin:0}fieldset label{display:block}div.pages{color:#89a;background:#d6daf0;display:inline;padding:8px;border-right:1px solid #b7c5d9;border-bottom:1px solid #b7c5d9}div.pages.top{display:block;padding:5px 8px;margin-bottom:5px;position:fixed;top:0;right:0;opacity:.9}@media screen and (max-width:800px){div.pages.top{display:none!important}}div.pages a.selected{color:#000;font-weight:bolder}div.pages a{text-decoration:none}div.pages form{margin:0;padding:0;display:inline}div.pages form input{margin:0 5px;display:inline}hr{border:none;border-top:1px solid #b7c5d9;height:0;clear:left}div.boardlist{color:#89a;font-size:9pt;margin-top:3px}div.boardlist.bottom{margin-top:30px!important}div.boardlist a{text-decoration:none}div.report{color:#333}table.modlog{margin:auto;width:100%}table.modlog tr td{text-align:left;margin:0;padding:4px 15px 0 0}table.modlog tr th{text-align:left;padding:4px 15px 5px 5px;white-space:nowrap}table.modlog tr th{background:#98e}td.minimal,th.minimal{width:1%;white-space:nowrap}div.top_notice{text-align:center;margin:5px auto}span.public_ban{display:block;color:red;font-weight:700;margin-top:15px}span.toolong{display:block;margin-top:15px}div.blotter{color:red;font-weight:700;text-align:center}table.mod.config-editor{font-size:9pt;width:100%}table.mod.config-editor td{text-align:left;padding:5px;border-bottom:1px solid #98e}table.mod.config-editor input[type=text]{width:98%}p.intro.thread-hidden{margin:0;padding:0}form.ban-appeal{margin:9px 20px}form.ban-appeal textarea{display:block}.theme-catalog div.thread img{float:none!important;margin:auto;margin-bottom:12px;max-height:150px;max-width:200px;box-shadow:0 0 4px rgba(0,0,0,.55);border:2px solid transparent}.theme-catalog div.thread{display:inline-block;vertical-align:top;margin-bottom:25px;margin-left:20px;margin-right:15px;text-align:center;font-weight:400;width:205px;overflow:hidden;position:relative;font-size:11px;padding:15px;max-height:300px;background:rgba(182,182,182,.12);border:2px solid rgba(111,111,111,.34)}.theme-catalog div.thread strong{display:block}.compact-boardlist{padding:3px;padding-bottom:0}.compact-boardlist .cb-item{display:inline-block;vertical-align:middle}.compact-boardlist .cb-icon{padding-bottom:1px}.compact-boardlist .cb-fa{font-size:21px;padding:2px;padding-top:0}.compact-boardlist .cb-cat{padding:5px 6px 8px}.cb-menuitem{display:table-row}.cb-menuitem span{padding:5px;display:table-cell;text-align:left;border-top:1px solid rgba(0,0,0,.5)}.cb-menuitem span.cb-uri{text-align:right}.boardlist:not(.compact-boardlist) #watch-pinned::before{content:" [ "}.boardlist:not(.compact-boardlist) #watch-pinned::after{content:" ] "}.boardlist:not(.compact-boardlist) #watch-pinned{display:inline}.boardlist:not(.compact-boardlist) #watch-pinned a{margin-left:3pt}.boardlist:not(.compact-boardlist) #watch-pinned a:first-child{margin-left:0}.compact-boardlist #watch-pinned{display:inline-block;vertical-align:middle}video.post-image{display:block;float:left;margin:10px 20px;border:none}div.post video.post-image{padding:0;margin:10px 25px 5px 5px}span.settings{display:inline;float:right;margin-left:10px;margin-top:30px}.archive-link{font-weight:700;margin-left:5px;color:#1100c0!important}.blinker{color:#ff0404;font-family:comic sans ms;font-size:115%}.mentioned{word-wrap:break-word}.yt-dl-link{font-weight:700}.yt-dl-embed{float:left;clear:both;margin:5px 0 12px 5px}.video-container+.body{clear:left}.label-block{margin:10px 10px 0 5px}.label-img{display:inline-block;padding:5px;max-height:90px}.capcode-owner{color:#9370db!important;font-weight:700}#canvas-loading{display:none;background-image:url(https://i.imgur.com/c7z4Rx0.gif);width:20px;height:20px}#canvas-box{display:none}#literally-canvas{height:500px;width:600px}.canvas-button{cursor:pointer}#show-oekaki{cursor:pointer}.lol{cursor:pointer}#search-bar{width:25%;padding-top:10px;margin-bottom:25px;margin-left:5px}.forum-using{padding-left:3px;font-style:italic}.use-button{margin-left:2px}.reset-button{margin-left:5px}.avatar.forum{display:none}.signature.forum{display:none}.signature-text-forum{display:none}#chatango-prompt{margin-top:35px;margin-bottom:45px;margin-left:63px;width:160px;cursor:pointer;font-weight:700}.hide-chatango iframe[width='75px']{display:none!important}body{background-image:url(https://i.imgur.com/P31ggRr.png);color:#666;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;margin:0 8px;padding-left:5px;padding-right:5px}hr{border:none;border-top:1px solid #649e66;height:0;clear:left}div.pages.top{display:block;padding:5px 8px;margin-bottom:5px;position:fixed;top:3px;right:3px;opacity:.9;border-radius:5px}div.pages{color:#6d6d6d;background:#ffd0cd;display:inline;padding:8px;border-right:1px solid #da7c75;border-bottom:1px solid #c17b76;border-radius:5px}form table tr th{padding:3px 5px 4px 4px!important;font-size:97%!important;background:rgba(34,228,85,.16);border-radius:7px}div.post.reply{background:#d7ffd8;margin:.2em 16px;padding:.2em .3em .5em .7em!important;border-width:1px;border-style:none solid solid none;border-color:#6cce70;display:inline-block;border-radius:10px}div.post.reply.highlighted{background:#ffd2cf;border-color:#e69994}div.blotter{color:#af0a0f;font-weight:700;text-align:center}header div.subtitle,h1{color:##b1362d;text-align:center}p.intro span.subject{color:#fd4b4b;font-weight:700}#spoiler{padding-left:3px;margin-left:3px;margin-right:3px}#sage{padding-left:3px;margin-left:3px;margin-right:3px}.sage-tip{font-size:85%;color:#a8ada8}.post-arrow{font-size:12px!important;margin-left:0!important}a.arrow-post-options:hover{color:#4e366f!important}.date-link{color:#807e7e!important;font-size:11.5px;margin-right:6px!important}a.date-link:hover{color:#807e7e!important;text-decoration:underline}.thread-hide-button{margin-right:1px;font-size:95%}.fileinfo a{font-size:85%}.fileinfo.reply{margin-left:3px!important}.boardlist{text-align:center!important;font-size:9.3pt!important;margin-top:6px!important;margin-bottom:24px!important}.scroll-button{color:#1a4c0a!important}
- .desktop-style div.boardlist:nth-child(1) {
- background-color: rgba(255,0,0,0);
- }
- ` : ""}
- ${themeEnabled("cia") ? `
- @import url("/stylesheets/dark.css");
- /*cia theme*/
- .post {
- background-color: #a0ecae;
- box-shadow: rgb(102, 255, 102) 0px 0px 2rem 10px;
- }
- ` : ""}
- </style>
- `);
- initFixes();
Add Comment
Please, Sign In to add comment