Skip to content

Instantly share code, notes, and snippets.

@justdanpo
justdanpo / ctrl-lclick-save-image.user.js
Last active July 27, 2016 00:55
Ctrl+LeftClick to save image
// ==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 August 3, 2016 20:29
Disable middle-click autoscrolling
// ==UserScript==
// @name Disable middle-click autoscrolling
// @description Disable middle-click autoscrolling
// @author ?
// @match http://*/*
// @match https://*/*
// @run-at document-start
// ==/UserScript==
(function() {
@justdanpo
justdanpo / disable-google-redirect.user.js
Last active August 8, 2016 11:26
Disable Google Redirect
// ==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 September 11, 2016 00:57
vk.com: force HTML5 audio in Vivaldi/Opera + Windows 7
// ==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 September 11, 2016 00:59
vk.com: force Flash audio in Vivaldi/Opera
// ==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
@justdanpo
justdanpo / chrome-center-image.user.js
Last active November 14, 2016 07:21
Center Image
// ==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
@justdanpo
justdanpo / rzd.user.js
Created May 7, 2018 07:03
rzd autofill
// ==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 August 21, 2018 10:19
build Vivaldi browser
@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%
@justdanpo
justdanpo / gist-raw-links.user.js
Last active September 15, 2021 11:58
gist.github.com updateable raw links
@justdanpo
justdanpo / block-vk-ad-posts.user.js
Last active November 5, 2021 23:21
Block vk.com ad posts
// ==UserScript==
// @name Block vk.com ad posts
// @namespace https://gist.github.com/justdanpo
// @version 0.6
// @description Block vk.com ad posts
// @author den_po
// @include https://vk.com*
// @grant none
// ==/UserScript==