Skip to content

Instantly share code, notes, and snippets.

Denis Porfiryev justdanpo

View GitHub Profile
@justdanpo
justdanpo / ctrl-lclick-save-image.user.js
Last active Jul 27, 2016
Ctrl+LeftClick to save image
View ctrl-lclick-save-image.user.js
// ==UserScript==
// @name Ctrl+LeftClick to save image
// @namespace https://gist.github.com/justdanpo
// @version 0.1
// @description Ctrl+LeftClick to save image
// @author den_po
// @match http://*/*
// @match https://*/*
// @grant none
// ==/UserScript==
@justdanpo
justdanpo / disable-middle-click-autoscrolling.user.js
Last active Aug 3, 2016
Disable middle-click autoscrolling
View disable-middle-click-autoscrolling.user.js
// ==UserScript==
// @name Disable middle-click autoscrolling
// @description Disable middle-click autoscrolling
// @author ?
// @match http://*/*
// @match https://*/*
// @run-at document-start
// ==/UserScript==
(function() {
@justdanpo
justdanpo / gist-raw-links.user.js
Last active Aug 6, 2016
gist.github.com updateable raw links
View gist-raw-links.user.js
View vivaldi-drag-to-scroll-image.user.js
// ==UserScript==
// @name Drag To Scroll Image
// @namespace https://gist.github.com/justdanpo
// @version 0.3
// @description Drag To Scroll Image
// @author den_po
// @match http://*/*
// @match https://*/*
// @match file://*
// @grant none
View disable-google-redirect.user.js
// ==UserScript==
// @name Disable Google Redirect
// @namespace https://gist.github.com/justdanpo
// @version 1.3
// @description Disable Google Redirect
// @author den_po
// @include http://www.google.com*
// @include https://www.google.com*
// @include http://www.google.ru*
// @include https://www.google.ru*
@justdanpo
justdanpo / vk-audio-html5.user.js
Created Sep 11, 2016
vk.com: force HTML5 audio in Vivaldi/Opera + Windows 7
View vk-audio-html5.user.js
// ==UserScript==
// @name vk.com: force HTML5 audio in Vivaldi/Opera + Windows 7
// @namespace https://gist.github.com/justdanpo
// @version 0.1
// @description vk.com: force HTML5 audio in Vivaldi/Opera + Windows 7
// @author den_po
// @include https://vk.com/*
// @include https://*.vk.com/*
// @run-at document-start
// @grant none
@justdanpo
justdanpo / vk-audio-flash.user.js
Created Sep 11, 2016
vk.com: force Flash audio in Vivaldi/Opera
View vk-audio-flash.user.js
// ==UserScript==
// @name vk.com: force Flash audio in Vivaldi/Opera
// @namespace https://gist.github.com/justdanpo
// @version 0.1
// @description vk.com: force Flash audio in Vivaldi/Opera
// @author den_po
// @include https://vk.com/*
// @include https://*.vk.com/*
// @run-at document-start
// @grant none
View chrome-center-image.user.js
// ==UserScript==
// @name Center Image
// @namespace https://gist.github.com/justdanpo
// @version 0.2
// @description Open images centered
// @author den_po
// @match http://*/*
// @match https://*/*
// @match file://*
// @run-at document-end
View rzd.user.js
// ==UserScript==
// @name rzd
// @namespace https://gist.github.com/justdanpo
// @version 0.1
// @description rzd
// @author den_po
// @include https://pass.rzd.ru/tickets/*
// @run-at document-end
// @grant none
@justdanpo
justdanpo / build-vivaldi.bat
Last active Aug 21, 2018
build Vivaldi browser
View build-vivaldi.bat
@echo off
:: copy Vivaldi\Application\{version}\resources\vivaldi into %targetdir%\resources
set sourcedir=%~dp0vivaldi-source
set targetdir=%sourcedir%\out\Release
set threads=2
set "GYP_DEFINES=component=shared_library fastbuild=0"
cd %sourcedir%
You can’t perform that action at this time.