Skip to content

Instantly share code, notes, and snippets.

View Ser-Gen's full-sized avatar
💭
https://github.com/pixhub-int/image-processing

Sergei Vasilev Ser-Gen

💭
https://github.com/pixhub-int/image-processing
  • Voronezh, Russia
View GitHub Profile
@Ser-Gen
Ser-Gen / rePaintIE.js
Last active May 14, 2019 08:41
Принудительная перерисовка страницы в ИЕ
// Иногда ИЕ8 не хочет перерисовывать страницу при изменениях.
// Этот скрипт заставляет его это делать
function rePaintIE() {
if (navigator.appName == 'Microsoft Internet Explorer') {
if (/MSIE\s8/.test(navigator.userAgent)) {
$('body').append(
'<style id="rePaintIE">'
+ 'html{position:relative;top:1px;}body{position:relative;top:-1px;}'
+ '</style>'
@Ser-Gen
Ser-Gen / main.js
Created February 14, 2016 12:02
Генератор речи
speaker.say('Как у вас дела?').then(speaker.say('У меня норм, например.'));
@Ser-Gen
Ser-Gen / ashot.user.js
Last active October 2, 2018 12:04
Ашот
// ==UserScript==
// @name Ашоты, Асланы
// @namespace ashots
// @include *//prnt.sc/*
// @include *//cloud.mail.ru/public/*
// @include *//yadi.sk/i/*
// @include *//joxi.net/*
// @include *//monosnap.com/file/*
// @include *//screenshots.firefox.com/*
// @include *//imgur.com/*
@Ser-Gen
Ser-Gen / greaseLynx.user.js
Last active September 6, 2018 07:14
greaseLynx
// ==UserScript==
// @name greaseLynx
// @include http*//*.*
// @version 1
// @run-at document-start
// @grant none
// ==/UserScript==
document.documentElement.insertAdjacentHTML(`afterbegin`, `
<style>
@Ser-Gen
Ser-Gen / end.user.js
Last active April 5, 2019 13:33
end.user.js
// ==UserScript==
// @name end
// @namespace styles
// @include http*//*.*
// @version 4
// @grant none
// ==/UserScript==
if (window.location.href.match('duckduckgo.com')) {
if (document.querySelector('.msg--noscript a')) {
@Ser-Gen
Ser-Gen / dark.user.js
Last active October 22, 2019 00:43
dark.user.js
// ==UserScript==
// @name dark
// @namespace styles
// @include http*//*.*
// @version 5
// @run-at document-start
// @grant none
// ==/UserScript==
if (window.location.href.match('scinquisitor.livejournal.com')) {