Skip to content

Instantly share code, notes, and snippets.

@yoksel
yoksel / userscript.js
Last active August 29, 2015 14:01
S2-layer functions list
// ==UserScript==
// @name S2-layer functions list
// @namespace http://yoksel.ru/
// @description Add the functions list to page with layer source.
// @include *layersource.bml*
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
GM_addStyle(" \
#funcIndex{ \
@yoksel
yoksel / userscript.js
Created May 14, 2014 17:17
Some Developers Stuff for Livejournal.com
// ==UserScript==
// @name Some Developers Stuff for Livejournal.com
// @namespace http://yoksel.ru/
// @description The script adds titles on the journal style settings pages and link to customize your journal style
// @include *livejournal.com*
// @include *livejournal.ru*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_listValues
// @grant GM_addStyle
@yoksel
yoksel / SassMeister-input.scss
Created June 13, 2014 14:12
Generated by SassMeister.com.
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
HTML, BODY {
height: 100%;
}
$out: orangered, gold;
@yoksel
yoksel / SassMeister-input.scss
Created June 13, 2014 15:26
Generated by SassMeister.com.
// ----
// libsass (v0.8.6)
// ----
$transp: rgba(255,255,255,0);
$colors-warm: violet, teal, steelblue, skyblue, yellowgreen, yellow, gold, orange, crimson, purple;
$warm: (
colors: $colors-warm,
@yoksel
yoksel / CommentsEditor.js
Last active October 8, 2020 12:21
CommentsEditor backup from userscripts
// ==UserScript==
// @name CommentsEditor
// @namespace http:// yoksel.ru/
// @description Html-editor for comments on Livejournal.com
// @include *livejournal.com*
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant GM_addStyle
// ==/UserScript==
GM_addStyle("#mybuttons {\
@yoksel
yoksel / s2-layer-functions-list.js
Created June 14, 2014 20:53
S2-layer functions list backup from userscripts
// ==UserScript==
// @name S2-layer functions list
// @namespace http://yoksel.ru/
// @description Add the functions list to page with layer source.
// @include *layersource.bml*
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
GM_addStyle(" \
#funcIndex{ \
@yoksel
yoksel / CLoversHelper.js
Created June 14, 2014 20:54
CLoversHelper backup from userscripts
// ==UserScript==
// @name CLoversHelper
// @namespace http://yoksel.ru/
// @description A little thing for colourlovers
// @include *colourlovers.com*
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
GM_addStyle(" \
div.html-btns .customButtons { \
@yoksel
yoksel / lj-dev-stuff.js
Last active August 29, 2015 14:02
Some Developers Stuff for Livejournal.com backup from userscripts
// ==UserScript==
// @name Some Developers Stuff for Livejournal.com
// @namespace http://yoksel.ru/
// @description The script adds titles on the journal style settings pages and link to customize your journal style
// @include *livejournal.com*
// @include *livejournal.ru*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_listValues
// @grant GM_addStyle
@yoksel
yoksel / gist:a8e9d3a9f740bb9e149f
Last active May 9, 2024 15:39
SVG Symbols Shower Bookmarklet
javascript:void(function(){
var doc = document;
var body = doc.querySelector("body");
var head = doc.querySelector("head");
var icons = "";
var resultElem = doc.querySelector("#icons-shower");
if ( !resultElem ) {