<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Настройка форума]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=7838</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=7838&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Настройка форума».]]></description>
		<lastBuildDate>Thu, 02 Apr 2026 21:18:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163309#p163309</link>
			<description><![CDATA[<p>Она и не должна с AHK ассоциироваться. Это стилизованная буква S от слова script, как и прежняя. Но прежня была только в размере 16x16, и на современных иконках выглядела либо маленькой, либо размытой. Кто-то из форумчан когда-то давно нарисовал этот полноразмерный вариант, я сделал из него многостраничную иконку, где 16x16 прежнее изображение, остальные новое.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 02 Apr 2026 21:18:31 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163309#p163309</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163308#p163308</link>
			<description><![CDATA[<p><strong>teadrinker</strong> У меня новая иконка сейчас отображается. Как-то не особо с АХК ассоциируется.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Thu, 02 Apr 2026 20:34:35 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163308#p163308</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163307#p163307</link>
			<description><![CDATA[<p>А, ок. У меня на панели закладок почему-то старая иконка (может там закешировано), а на стартовой странице полноразмерная. Пока не отображается так же в браузере на мобильном.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 02 Apr 2026 19:30:05 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163307#p163307</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163306#p163306</link>
			<description><![CDATA[<p><span class="postimg"><img src="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;item=2528&amp;download=0" alt="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;amp;item=2528&amp;amp;download=0" /></span></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Thu, 02 Apr 2026 18:19:33 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163306#p163306</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163305#p163305</link>
			<description><![CDATA[<p>На панели закладок полноразмерная иконка? Можешь скриншот прислать, как это выглядит?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 02 Apr 2026 17:18:06 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163305#p163305</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163304#p163304</link>
			<description><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>А где-нибудь, кроме 6 сообщения данной темы? Например, если создать иконку сайта на начальной странице браузера?</p></blockquote></div><p>Да, в браузере Google chrome на панели закладок иконка отображается.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Thu, 02 Apr 2026 15:02:46 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163304#p163304</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163303#p163303</link>
			<description><![CDATA[<p>А она разве пропала?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 01 Apr 2026 20:26:15 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163303#p163303</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163302#p163302</link>
			<description><![CDATA[<p>А чем старая иконка не понравилась?</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Wed, 01 Apr 2026 18:57:31 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163302#p163302</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163301#p163301</link>
			<description><![CDATA[<p>А где-нибудь, кроме 6 сообщения данной темы? Например, если создать иконку сайта на начальной странице браузера?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 01 Apr 2026 15:01:51 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163301#p163301</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163300#p163300</link>
			<description><![CDATA[<p>Когда я в данной теме просматриваю 6-ое сообщение, то отображается. Проверял в двух разных браузерах.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 01 Apr 2026 14:45:47 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163300#p163300</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163298#p163298</link>
			<description><![CDATA[<p><strong>ypppu</strong><br />А у тебя полноразмерный вариант где-то отображается? У меня пока нигде.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 30 Mar 2026 21:37:29 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163298#p163298</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163297#p163297</link>
			<description><![CDATA[<p><strong>ypppu</strong><br />А прозрачный фон?<br />..<br />Извиняюсь, был не прав, дерзил, исправлюсь. Фон прозрачный.</p>]]></description>
			<author><![CDATA[null@example.com (3wedsmncjklvjvd73734)]]></author>
			<pubDate>Mon, 30 Mar 2026 19:25:09 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163297#p163297</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=163295#p163295</link>
			<description><![CDATA[<div class="codebox"><pre><code>http://forum.script-coding.com/favicon.ico</code></pre></div><p><span class="postimg"><img src="http://forum.script-coding.com/favicon.ico" alt="http://forum.script-coding.com/favicon.ico" /></span><br /><span class="postimg"><img src="https://media.tenor.com/zWOBJciEhHIAAAAj/emoji-beer.gif" alt="https://media.tenor.com/zWOBJciEhHIAAAAj/emoji-beer.gif" /></span></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Mon, 30 Mar 2026 16:17:57 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=163295#p163295</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=141945#p141945</link>
			<description><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Расширение для браузера</div><div class="fancy_spoiler"><p>Всем добра!</p><p>Давно руки чесались поменять расцветку страниц форума, сделав их потемнее. Да, есть расширения и даже с удобным интерфейсом для настройки, но занимались бы мы с вами тем, чем занимаемся, если бы руки не чесались? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> </p><p>Добавил больше серых тонов оформлению &quot;Серого форума&quot;. Теперь не будет так убивать глаза своей яркостью. В блоки комментариев, оформленных тегом &quot;code&quot; добавил функционал:<br /> * Подсветка синтаксиса на основе <a href="https://prismjs.com/">Prism.js</a>, позаимствованного на забугорном форуме.<br /> * Плагин добавляющий нумерацию строк.<br /> * Пять тёмных тем оформления на выбор.<br /> * Возможность полностью разворачивать блок и сворачивать обратно, до высоты превью с прокруткой к началу блока.<br /> * Поддержка лучшего(на мой взгляд), бесплатного, моноширинного шрифта <a href="https://github.com/tonsky/FiraCode">FiraCode</a>.</p><p>Клик по дате в заголовке каждого поста, хранящей постоянную ссылку на него, теперь предложит записать её в буфер обмена во всплывающем конфирме, вверху страницы.</p><p>Текстовое поле для ответа в теме, так же снабжено моноширинным шрифтом, так как не редко в нём приходится набирать и примеры кода.</p><p>В разметку сайта, в правый-верхний угол страницы добавлен минималистичный виджет для быстрых настроек.</p><p>Вся надстройка выполнена с участием <a href="https://ru.svelte.dev/">Svelte</a>, от чего исполняемый код был &quot;минифицирован&quot; компилятором. Посмотреть исходники сборки можно <a href="https://github.com/PieceOfGood/gray-forum-userscript">тут</a>.</p><p><strong>[ - Инсталляция - ]</strong></p><p>Это типичный UserScript и чтобы его использовать нужно установить в свой браузер расширение, позволяющее их запускать. Для браузеров на основе <a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo">Chromium</a>, <a href="https://addons.mozilla.org/ru/firefox/addon/greasemonkey/">FireFox</a>, <a href="https://addons.opera.com/ru/extensions/details/tampermonkey-beta/">Opera</a>.</p><p>Сайт <a href="https://greasyfork.org/ru">Greasy Fork</a>(площадка для распространения пользовательских скриптов) запрещает размещать у себя обфусцированные и минифицированные скрипты, что делает невозможным стандартное распространение этого сценария. Но его можно скопировать в буфер, кликнуть по расширению и выбрать &quot;Создать новый скрипт&quot;, после чего запустится инстанс редактора, весь дефолтный текст которого нужно удалить и вместо него вставить содержимое буфера, а затем сохранить(Ctrl+A -&gt; Ctrl + V -&gt; Ctrl + S). Довольно просто.</p><p>Теперь, если скачаны и установлены шрифты &quot;FiraCode&quot; по ссылке выше, отметтье одноимённый чекбокс в новом виджете на странице и наслаждайтесь новым представлением страниц &quot;Серого форума&quot;!</p><p>Не забудьте перезагрузить страницу(F5), чтобы изменения вступили в силу.</p><div class="codebox"><pre><code>// ==UserScript==
// @name         Gray forum — more shade of gray!
// @namespace    http://script-coding.com/
// @version      1.0
// @author       KusochekDobra
// @match        http://forum.script-coding.com/*

// @exclude      http://forum.script-coding.com/login*

// @require      https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/components/prism-core.min.js
// @require      https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/components/prism-autohotkey.min.js

// @resource     twilight_dark_css_src https://atelierbram.github.io/syntax-highlighting/prism/demo/assets/css/prism-base16-twilight.dark.css
// @resource     xonokai_css_src https://atelierbram.github.io/syntax-highlighting/prism/demo/assets/css/prism-xonokai.css
// @resource     tomorrow_css_src https://raw.githubusercontent.com/PrismJS/prism/master/themes/prism-tomorrow.css
// @resource     ashes_dark_css_src https://atelierbram.github.io/syntax-highlighting/prism/demo/assets/css/prism-base16-ashes.dark.css
// @resource     pojoaque_css_src https://atelierbram.github.io/syntax-highlighting/prism/demo/assets/css/prism-pojoaque.css

// @require      https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/plugins/line-numbers/prism-line-numbers.min.js
// @resource     prism_numbers_css_src https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/plugins/line-numbers/prism-line-numbers.min.css

// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_addStyle
// @grant        GM_getResourceText
// @grant        GM_setClipboard
// ==/UserScript==

const svelte_css_txt = &quot;#content-box.svelte-jjzoge .svelte-jjzoge{margin:0;padding:0;box-sizing:border-box}#content-box.svelte-jjzoge.svelte-jjzoge{font-family:monospace;position:fixed;user-select:none;overflow:hidden;top:10px;right:10px;width:20px;height:20px;border-radius:5px;padding:5px;transition:all .3s ease;background:white;box-shadow:0 0 5px black}#box-wrap.svelte-jjzoge.svelte-jjzoge{margin:5px;display:none}#toggle-btn.svelte-jjzoge.svelte-jjzoge{position:absolute;top:5px;right:5px;width:20px;height:20px;cursor:pointer;line-height:20px;text-align:center;color:black;text-shadow:none;font-size:24px;transform:rotateZ(0deg);transition:all .3s ease}#code-themes.svelte-jjzoge.svelte-jjzoge{margin-top:5px;padding:10px;background:lightgray}#toggle-btn.svelte-jjzoge.svelte-jjzoge:hover{color:aqua;text-shadow:0 0 5px black;white-space:nowrap}&quot;;
GM_addStyle( svelte_css_txt );
var app=function(){&quot;use strict&quot;;function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function o(){return Object.create(null)}function s(e){e.forEach(n)}function c(e){return&quot;function&quot;==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&amp;&amp;&quot;object&quot;==typeof e||&quot;function&quot;==typeof e}function l(t,n,o){t.$$.on_destroy.push(function(t,...n){if(null==t)return e;const o=t.subscribe(...n);return o.unsubscribe?()=&gt;o.unsubscribe():o}(n,o))}function i(e,t){e.appendChild(t)}function a(e,t,n){e.insertBefore(t,n||null)}function d(e){e.parentNode.removeChild(e)}function u(e){return document.createElement(e)}function h(e){return document.createTextNode(e)}function p(){return h(&quot; &quot;)}function g(e,t,n,o){return e.addEventListener(t,n,o),()=&gt;e.removeEventListener(t,n,o)}function f(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&amp;&amp;e.setAttribute(t,n)}function m(e,t){for(let n=0;n&lt;e.options.length;n+=1){const o=e.options[n];if(o.__value===t)return void(o.selected=!0)}}let b;function y(e){b=e}const x=[],v=[],w=[],k=[],_=Promise.resolve();let S=!1;function $(e){w.push(e)}let j=!1;const E=new Set;function q(){if(!j){j=!0;do{for(let e=0;e&lt;x.length;e+=1){const t=x[e];y(t),C(t.$$)}for(x.length=0;v.length;)v.pop()();for(let e=0;e&lt;w.length;e+=1){const t=w[e];E.has(t)||(E.add(t),t())}w.length=0}while(x.length);for(;k.length;)k.pop()();S=!1,j=!1,E.clear()}}function C(e){if(null!==e.fragment){e.update(),s(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&amp;&amp;e.fragment.p(e.ctx,t),e.after_update.forEach($)}}const A=new Set;function O(e,t){e&amp;&amp;e.i&amp;&amp;(A.delete(e),e.i(t))}function z(e,t,o){const{fragment:r,on_mount:l,on_destroy:i,after_update:a}=e.$$;r&amp;&amp;r.m(t,o),$(()=&gt;{const t=l.map(n).filter(c);i?i.push(...t):s(t),e.$$.on_mount=[]}),a.forEach($)}function N(e,t){const n=e.$$;null!==n.fragment&amp;&amp;(s(n.on_destroy),n.fragment&amp;&amp;n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function H(e,t){-1===e.$$.dirty[0]&amp;&amp;(x.push(e),S||(S=!0,_.then(q)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1&lt;&lt;t%31}function L(t,n,c,r,l,i,a=[-1]){const u=b;y(t);const h=n.props||{},p=t.$$={fragment:null,ctx:null,props:i,update:e,not_equal:l,bound:o(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:o(),dirty:a,skip_bound:!1};let g=!1;if(p.ctx=c?c(t,h,(e,n,...o)=&gt;{const s=o.length?o[0]:n;return p.ctx&amp;&amp;l(p.ctx[e],p.ctx[e]=s)&amp;&amp;(!p.skip_bound&amp;&amp;p.bound[e]&amp;&amp;p.bound[e](s),g&amp;&amp;H(t,e)),n}):[],p.update(),g=!0,s(p.before_update),p.fragment=!!r&amp;&amp;r(p.ctx),n.target){if(n.hydrate){const e=function(e){return Array.from(e.childNodes)}(n.target);p.fragment&amp;&amp;p.fragment.l(e),e.forEach(d)}else p.fragment&amp;&amp;p.fragment.c();n.intro&amp;&amp;O(t.$$.fragment),z(t,n.target,n.anchor),q()}y(u)}class M{$destroy(){N(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=&gt;{const e=n.indexOf(t);-1!==e&amp;&amp;n.splice(e,1)}}$set(e){var t;this.$$set&amp;&amp;(t=e,0!==Object.keys(t).length)&amp;&amp;(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const T=[];function F(t,n=e){let o;const s=[];function c(e){if(r(t,e)&amp;&amp;(t=e,o)){const e=!T.length;for(let e=0;e&lt;s.length;e+=1){const n=s[e];n[1](),T.push(n,t)}if(e){for(let e=0;e&lt;T.length;e+=2)T[e][0](T[e+1]);T.length=0}}}return{set:c,update:function(e){c(e(t))},subscribe:function(r,l=e){const i=[r,l];return s.push(i),1===s.length&amp;&amp;(o=n(c)||e),r(t),()=&gt;{const e=s.indexOf(i);-1!==e&amp;&amp;s.splice(e,1),0===s.length&amp;&amp;(o(),o=null)}}}}const G=JSON.parse(GM_getValue(&quot;config&quot;,JSON.stringify({style:{code:{theme:&quot;tomorrow&quot;,fira_code:!1,add_numbers:!1,use_old_height:!1}}})));const B=function(){const{subscribe:e,set:t}=F(G.style.code.theme);return{subscribe:e,set:e=&gt;{G.style.code.theme=e,t(e)}}}(),P=function(){const{subscribe:e,set:t}=F(G.style.code.fira_code);return{subscribe:e,set:e=&gt;{G.style.code.fira_code=e,t(e)}}}(),W=function(){const{subscribe:e,set:t}=F(G.style.code.add_numbers||!1);return{subscribe:e,set:e=&gt;{G.style.code.add_numbers=e,t(e)}}}(),R=function(){const{subscribe:e,set:t}=F(G.style.code.use_old_height||!1);return{subscribe:e,set:e=&gt;{G.style.code.use_old_height=e,t(e)}}}();window.addEventListener(&quot;beforeunload&quot;,()=&gt;{GM_setValue(&quot;config&quot;,JSON.stringify(G))});const D=&quot;https://www.flaticon.com/premium-icon/icons/svg/3396/3396836.svg&quot;,J=&quot;https://image.flaticon.com/icons/svg/1828/1828417.svg&quot;,V=&quot;https://image.flaticon.com/icons/svg/1828/1828135.svg&quot;,Z=&quot;rgb(195,195,195)&quot;,Y=&quot;rgb(125,125,125)&quot;,I=&quot;rgb(65,65,65)&quot;;function K(e=null){return pageYOffset+(null!==e?e.getBoundingClientRect().y:0)}function Q(e,t,n){let o,s,c,r;l(e,B,e=&gt;n(0,o=e)),l(e,P,e=&gt;n(1,s=e)),l(e,R,e=&gt;n(2,c=e)),l(e,W,e=&gt;n(3,r=e));GM_addStyle(GM_getResourceText(o+&quot;_css_src&quot;)),GM_addStyle(GM_getResourceText(&quot;prism_numbers_css_src&quot;)),GM_addStyle(&#039;\n    .ex-container {\n        position: absolute;\n        top: 85px; right: 35px;\n        padding: 5px;\n        border-radius: 5px;\n        box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 1px;\n        cursor: pointer;\n        display: flex;\n        flex-direction: column;\n        justify-content: center;\n        height: 16px;\n        opacity: .5;\n        transition: all 0.3s ease 0s;\n    }\n    .ex-container:hover { box-shadow: rgba(255, 255, 255, 1) 0px 0px 5px; opacity: 1; }\n    .auto-ex { transition: all .3s ease; }\n\n    .posting&gt;.newpost&gt;span { color: white; text-shadow: 0 0 5px black; transition: all .3s ease; }\n    .posting&gt;.newpost&gt;span:hover { color: black; text-shadow: 0 0 5px white; }\n    .main-subhead { border: &quot;none&quot;; box-shadow: 0 0 10px black inset; }\n    .rep_info_link&gt;img { height: 12px; transform: scale(1); transition: transform .1s ease; }\n    .rep_info_link&gt;img:hover { transform: scale(1.5); }\n    p&gt;strong { box-shadow: 0 0 5px white; }\n    div#brd-pagepost-top a:not([class=newpost]), div#brd-pagepost-end a:not([class=newpost]) { box-shadow: none; transition: all .2s ease; }\n    div#brd-pagepost-top a:not([class=newpost]):hover, div#brd-pagepost-end a:not([class=newpost]):hover { box-shadow: 0 0 5px black; }\n    div#brd-pagepost-top .first-item, div#brd-pagepost-end .first-item { padding: 0 12px; }\n    &#039;);function i(e){const t=document.createDocumentFragment(),n=c?200:420,o=e.children[0],l=e.children[2];if(!l)return;const i=l.children[0];if(i.className=&quot;language-autohotkey&quot;,Object.assign(l.style,{maxHeight:n+&quot;px&quot;,width:&quot;calc(100% - 28px)&quot;}),l.classList.add(&quot;auto-ex&quot;),e.style.position=&quot;relative&quot;,i.scrollHeight&gt;n||i.scrollHeight&gt;360){l.style.willChange=&quot;max-height&quot;;const t=document.createElement(&quot;div&quot;);t.className=&quot;ex-container&quot;;const o=document.createElement(&quot;img&quot;);o.style.height=&quot;16px&quot;,o.src=D,t.title=&quot;Развернуть код&quot;,t.onclick=s=&gt;{const c=Boolean(+l.dataset.exState);i.scrollHeight&gt;n&amp;&amp;l.offsetHeight&lt;i.scrollHeight&amp;&amp;!c?(l.style.maxHeight=i.scrollHeight+20+&quot;px&quot;,l.dataset.exState=1,o.src=&quot;https://www.flaticon.com/premium-icon/icons/svg/3396/3396845.svg&quot;,t.title=&quot;Свернуть код&quot;,Object.assign(t.style,{right:&quot;17px&quot;,height:i.scrollHeight+&quot;px&quot;})):c&amp;&amp;(l.style.maxHeight=n+&quot;px&quot;,l.dataset.exState=0,o.src=D,t.title=&quot;Развернуть код&quot;,Object.assign(t.style,{right:&quot;35px&quot;,height:&quot;18px&quot;}),K(e)&lt;document.documentElement.scrollTop&amp;&amp;window.scrollTo({top:K(e.parentNode.parentNode),behavior:&quot;smooth&quot;}))},t.appendChild(o),e.appendChild(t)}o.innerHTML=&#039;&lt;a href=&quot;#&quot; onclick=&quot;copyCodeSection(this); return false;&quot; class=&quot;permalink codetitle&quot;&gt;&lt;img src=&quot;https://image.flaticon.com/icons/svg/2921/2921724.svg&quot; style=&quot;height: 16px;&quot; title=&quot;Копировать&quot;&gt;&lt;/a&gt;&lt;a href=&quot;#&quot; onclick=&quot;copyCodeWithTabs(this); return false;&quot; class=&quot;permalink codetitle&quot;&gt;&lt;img src=&quot;https://image.flaticon.com/icons/svg/2921/2921709.svg&quot; style=&quot;height: 16px;&quot; title=&quot;Копировать с табуляцией&quot;&gt;&lt;/a&gt;&lt;a href=&quot;#&quot; onclick=&quot;copyCodeWithSpaces(this, 3); return false;&quot; class=&quot;permalink codetitle&quot;&gt;&lt;img src=&quot;https://image.flaticon.com/icons/svg/2911/2911213.svg&quot; style=&quot;height: 16px;&quot; title=&quot;Копировать с 3 пробелами&quot;&gt;&lt;/a&gt;&#039;;const a=document.createElement(&quot;a&quot;);a.href=&quot;#&quot;,a.className=&quot;permalink codetitle&quot;,a.onclick=e=&gt;{const t=Boolean(+l.dataset.orderState);e.preventDefault(),t?(l.dataset.orderState=0,l.classList.remove(&quot;line-numbers&quot;),a.children[0].src=V,l.style.width=&quot;calc(100% - 28px)&quot;):(l.dataset.orderState=1,l.classList.add(&quot;line-numbers&quot;),a.children[0].src=J,l.style.width=&quot;calc(100% - 67px)&quot;),Prism.highlightElement(i),s&amp;&amp;(i.style.fontFamily=&quot;Fira Code&quot;)},a.innerHTML=&#039;&lt;img src=&quot;&#039;+V+&#039;&quot; style=&quot;height: 16px;&quot; title=&quot;Нумерация строк&quot;&gt;&#039;,r&amp;&amp;(l.dataset.orderState=1,l.classList.add(&quot;line-numbers&quot;),a.children[0].src=J,l.style.width=&quot;calc(100% - 67px)&quot;),t.appendChild(a),t.appendChild(document.createElement(&quot;br&quot;)),t.appendChild(document.createElement(&quot;br&quot;)),o.appendChild(t),Prism.highlightElement(i),s&amp;&amp;(i.style.fontFamily=&quot;Fira Code&quot;)}return unsafeWindow.Prism=Prism,setTimeout(()=&gt;{document.querySelectorAll(&quot;.entry-content&gt;.codebox&quot;).forEach(e=&gt;{i(e)}),document.querySelectorAll(&quot;.fancy_spoiler_switcher&quot;).forEach(e=&gt;{e.addEventListener(&quot;click&quot;,t=&gt;{Boolean(+e.dataset.prepareState)||(e.querySelectorAll(&quot;.codebox&quot;).forEach(e=&gt;{i(e)}),e.dataset.prepareState=1)})}),[...document.querySelectorAll(&quot;.crumbs&quot;),...document.querySelectorAll(&quot;.gen-content&quot;),...document.querySelectorAll(&quot;.postbody&quot;),...document.querySelectorAll(&quot;.post-options&quot;)].forEach(e=&gt;{e.style.background=Z});const e=document.querySelector(&quot;#brd-navlinks&quot;);e&amp;&amp;Object.assign(e.style,{background:I,border:&quot;solid white 2px&quot;}),document.querySelectorAll(&quot;.sig-content&quot;).forEach(e=&gt;{e.style.textShadow=&quot;0 0 5px white&quot;}),[...document.querySelectorAll(&quot;.main-head&quot;),...document.querySelectorAll(&quot;.main-foot&quot;),...document.querySelectorAll(&quot;.hn.post-ident&quot;)].forEach(e=&gt;{if(e){Object.assign(e.style,{background:I,color:&quot;white&quot;});const t=e.querySelector(&quot;.permalink&quot;);!t&amp;&amp;(e.style.border=&quot;solid white 2px&quot;)||(t.style.color=&quot;white&quot;)}}),document.querySelectorAll(&quot;.post&quot;).forEach(e=&gt;{e.style.background=I,e.querySelector(&quot;a&quot;).style.color=&quot;white&quot;;const t=e.querySelector(&quot;.post-author&quot;);if(!t)return;const n=t.children[0].children[1],o=t.children[0].children[2],s=t.children[1].children[0]?t.children[1].children[0].children[0]:null;let c={};&quot;Участник&quot;===n.textContent?c={color:&quot;lime&quot;,textShadow:&quot;0 0 10px black&quot;}:&quot;Разработчик&quot;===n.textContent?c={color:&quot;cyan&quot;,textShadow:&quot;0 0 10px darkorange&quot;}:&quot;Модератор&quot;===n.textContent?c={color:&quot;darkorange&quot;,textShadow:&quot;0 0 10px cyan&quot;}:&quot;Администратор&quot;===n.textContent?c={color:&quot;red&quot;,textShadow:&quot;0 0 10px cyan&quot;}:&quot;Заблокирован&quot;===n.textContent&amp;&amp;(c={textShadow:&quot;0 0 10px white&quot;}),Object.assign(n.style,c),o.style.color=&quot;white&quot;,s&amp;&amp;(s.children[s.children.length&gt;3?2:1].style.color=&quot;lime&quot;,Object.assign(s.style,{boxShadow:&quot;0 0 5px white inset&quot;,fontWeight:&quot;bold&quot;,textShadow:&quot;0 0 7px white&quot;,borderRadius:&quot;5px&quot;,padding:&quot;5px 10px&quot;,background:&quot;rgba(200, 200, 200, .2)&quot;}),t.children[1].children[0].style.margin=&quot;5px 0&quot;)}),document.documentElement.style.background=Y,document.body.style.background=Y;const t=document.querySelector(&quot;textarea[name=req_message]&quot;);t&amp;&amp;(t.style.fontFamily=s?&quot;Fira Code&quot;:&quot;monospace&quot;),[...document.querySelectorAll(&quot;.isactive&gt;a&quot;),...document.querySelectorAll(&quot;.active&gt;a&quot;)].forEach(e=&gt;{Object.assign(e.style,{background:Z,color:&quot;black&quot;,boxShadow:&quot;0 0 10px black inset&quot;})}),document.querySelectorAll(&quot;.main-item&quot;).forEach(e=&gt;{e.style.background=Z,e.classList.contains(&quot;new&quot;)&amp;&amp;(e.children[0].style.borderColor=&quot;#868686 #767676 #666666 #565656&quot;,[e.children[1].children[0].querySelector(&quot;a&quot;),e.children[1].children[0].querySelector(&quot;small&gt;a&quot;),e.children[1].children[1]?e.children[1].children[1].querySelector(&quot;a&quot;):null].forEach(e=&gt;{e&amp;&amp;Object.assign(e.style,{fontWeight:&quot;bold&quot;,color:I})}))}),document.querySelectorAll(&quot;.posthead .permalink&quot;).forEach(e=&gt;{e.addEventListener(&quot;click&quot;,t=&gt;{t.preventDefault(),confirm(&quot;Записать в буфер:\n&quot;+e.href)&amp;&amp;GM_setClipboard(e.href,&quot;text&quot;)})})},0),[]}class U extends M{constructor(e){super(),L(this,e,Q,null,r,{})}}function X(e,t,n){const o=e.slice();return o[10]=t[n],o}function ee(t){let n,o,s,c=t[10]+&quot;&quot;;return{c(){n=u(&quot;option&quot;),o=h(c),n.__value=s=t[10],n.value=n.__value,f(n,&quot;class&quot;,&quot;svelte-jjzoge&quot;)},m(e,t){a(e,n,t),i(n,o)},p:e,d(e){e&amp;&amp;d(n)}}}function te(e){let t,n,o,c,r,l,b,y,x,v,w,k,_,S,j,E,q,C,H,L,M,T,F,G,B,P,W,R,D=e[4],J=[];for(let t=0;t&lt;D.length;t+=1)J[t]=ee(X(e,D,t));return B=new U({}),{c(){t=u(&quot;div&quot;),n=u(&quot;div&quot;),n.textContent=&quot;✜&quot;,o=p(),c=u(&quot;div&quot;),r=u(&quot;label&quot;),l=h(&quot;FiraCode      &quot;),b=u(&quot;input&quot;),x=p(),v=u(&quot;label&quot;),w=h(&quot;Нумерация     &quot;),k=u(&quot;input&quot;),S=p(),j=u(&quot;label&quot;),E=h(&quot;Высота &#039;code&#039; &quot;),q=u(&quot;input&quot;),H=p(),L=u(&quot;div&quot;),M=u(&quot;span&quot;),M.textContent=&quot;Темы для &#039;code&#039;:&quot;,T=p(),F=u(&quot;select&quot;);for(let e=0;e&lt;J.length;e+=1)J[e].c();var s,i,a,d;G=p(),(s=B.$$.fragment)&amp;&amp;s.c(),f(n,&quot;id&quot;,&quot;toggle-btn&quot;),f(n,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(b,&quot;type&quot;,&quot;checkbox&quot;),f(b,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(r,&quot;title&quot;,y=&quot;Если в системе установлен\nэтот шрифт, он будет применён\nк блоку с кодом.&quot;),f(r,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(k,&quot;type&quot;,&quot;checkbox&quot;),f(k,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(v,&quot;title&quot;,_=&quot;Включает нумерацию строк\nв блоке &#039;code&#039;.&quot;),f(v,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(q,&quot;type&quot;,&quot;checkbox&quot;),f(q,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(j,&quot;title&quot;,C=&quot;Уменьшает дефолтную высоту\nблока &#039;code&#039; в два раза.&quot;),f(j,&quot;class&quot;,&quot;svelte-jjzoge&quot;),i=&quot;white-space&quot;,a=&quot;nowrap&quot;,M.style.setProperty(i,a,d?&quot;important&quot;:&quot;&quot;),f(M,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(F,&quot;class&quot;,&quot;svelte-jjzoge&quot;),void 0===e[3]&amp;&amp;$(()=&gt;e[9].call(F)),f(L,&quot;id&quot;,&quot;code-themes&quot;),f(L,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(c,&quot;id&quot;,&quot;box-wrap&quot;),f(c,&quot;class&quot;,&quot;svelte-jjzoge&quot;),f(t,&quot;id&quot;,&quot;content-box&quot;),f(t,&quot;class&quot;,&quot;svelte-jjzoge&quot;)},m(s,d){a(s,t,d),i(t,n),i(t,o),i(t,c),i(c,r),i(r,l),i(r,b),b.checked=e[0],i(c,x),i(c,v),i(v,w),i(v,k),k.checked=e[1],i(c,S),i(c,j),i(j,E),i(j,q),q.checked=e[2],i(c,H),i(c,L),i(L,M),i(L,T),i(L,F);for(let e=0;e&lt;J.length;e+=1)J[e].m(F,null);m(F,e[3]),a(s,G,d),z(B,s,d),P=!0,W||(R=[g(n,&quot;click&quot;,e[5]),g(b,&quot;change&quot;,e[6]),g(k,&quot;change&quot;,e[7]),g(q,&quot;change&quot;,e[8]),g(F,&quot;change&quot;,e[9])],W=!0)},p(e,[t]){if(1&amp;t&amp;&amp;(b.checked=e[0]),2&amp;t&amp;&amp;(k.checked=e[1]),4&amp;t&amp;&amp;(q.checked=e[2]),16&amp;t){let n;for(D=e[4],n=0;n&lt;D.length;n+=1){const o=X(e,D,n);J[n]?J[n].p(o,t):(J[n]=ee(o),J[n].c(),J[n].m(F,null))}for(;n&lt;J.length;n+=1)J[n].d(1);J.length=D.length}24&amp;t&amp;&amp;m(F,e[3])},i(e){P||(O(B.$$.fragment,e),P=!0)},o(e){!function(e,t,n,o){if(e&amp;&amp;e.o){if(A.has(e))return;A.add(e),(void 0).c.push(()=&gt;{A.delete(e),o&amp;&amp;(n&amp;&amp;e.d(1),o())}),e.o(t)}}(B.$$.fragment,e),P=!1},d(e){e&amp;&amp;d(t),function(e,t){for(let n=0;n&lt;e.length;n+=1)e[n]&amp;&amp;e[n].d(t)}(J,e),e&amp;&amp;d(G),N(B,e),W=!1,s(R)}}}function ne(e,n,o){let s,c,r,i;l(e,P,e=&gt;o(0,s=e)),l(e,W,e=&gt;o(1,c=e)),l(e,R,e=&gt;o(2,r=e)),l(e,B,e=&gt;o(3,i=e));const a=[&quot;twilight_dark&quot;,&quot;xonokai&quot;,&quot;tomorrow&quot;,&quot;ashes_dark&quot;,&quot;pojoaque&quot;];return[s,c,r,i,a,function(e){const n=e.target,o=n.parentNode,s=Boolean(+n.dataset.toggled),c=n.parentNode.children[1];s?(t(o.style,{width:&quot;20px&quot;,height:&quot;20px&quot;}),c.style.display=&quot;none&quot;,n.style.transform=&quot;rotateZ(0deg)&quot;,n.dataset.toggled=0):(t(o.style,{width:&quot;200px&quot;,height:&quot;145px&quot;}),c.style.display=&quot;block&quot;,n.style.transform=&quot;rotateZ(45deg)&quot;,n.dataset.toggled=1)},function(){s=this.checked,P.set(s)},function(){c=this.checked,W.set(c)},function(){r=this.checked,R.set(r)},function(){i=function(e){const t=e.querySelector(&quot;:checked&quot;)||e.options[0];return t&amp;&amp;t.__value}(this),B.set(i),o(4,a)}]}return new class extends M{constructor(e){super(),L(this,e,ne,te,r,{})}}({target:document.body})}();

</code></pre></div><p><a href="https://d.radikal.ru/d04/2008/fb/1dfe78d71f47.png"><span class="postimg"><img src="https://d.radikal.ru/d04/2008/fb/1dfe78d71f47t.jpg" alt="https://d.radikal.ru/d04/2008/fb/1dfe78d71f47t.jpg" /></span></a></p></div></div>]]></description>
			<author><![CDATA[null@example.com (KusochekDobra)]]></author>
			<pubDate>Mon, 31 Aug 2020 19:13:16 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=141945#p141945</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка форума]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99235#p99235</link>
			<description><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Для кнопок сверху правильно так</div><div class="fancy_spoiler"><div class="codebox"><pre><code>CodeParse(&#039;&lt;div %bottom%&gt;%copySection(Копировать)% %copyTab(с табуляцией)% %copySpace3(с 3 пробелами)% &lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;%code%&#039;);</code></pre></div></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Или с иконками вместо текста</div><div class="fancy_spoiler"><div class="codebox"><pre><code>CodeParse(&#039;&lt;div %bottom%&gt;%copySection(&lt;img src=&quot;http://i.imgur.com/qE5dBUT.png&quot; title=&quot;Копировать&quot;&gt;)% %copyTab(&lt;img src=&quot;http://i.imgur.com/nWOboKU.png&quot; title=&quot;Копировать с табуляцией&quot;&gt;)% %copySpace3(&lt;img src=&quot;http://i.imgur.com/vrA2E3d.png&quot; title=&quot;Копировать с 3 пробелами&quot;&gt;)% &lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;%code%&#039;);</code></pre></div></div></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 23 Nov 2015 11:37:30 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99235#p99235</guid>
		</item>
	</channel>
</rss>
