Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Amazon Remove Kindle Unlimited
// @namespace Violentmonkey Scripts
// @match https://www.amazon.com/dp/*
// @icon https://upload.wikimedia.org/wikipedia/commons/b/b4/Amazon-icon.png
// @grant none
// ==/UserScript==
el = document.getElementById('tmmSwatches');
el.parentNode.removeChild(el);
// ==UserScript==
// @name Google Search Preference Page Hidden textbox
// @namespace Violentmonkey Scripts
// @match https://www.google.ca/preferences*
// @grant none
// ==/UserScript==
document.getElementsByName('safeui')[0].style="display:block";
@-moz-document regexp("https?:\/\/www\.myvidster\.com/"), regexp("https?:\/\/www\.myvidster\.com\/page\/\d+"), regexp("https?:\/\/www\.myvidster\.com/?\?list\=popular") {
.empty_clear_floats{
clear:none !important;
display:none !important;
}
div.container2 > table {
width:1920px !important;
}
function Get-ComObject {
<#
.Synopsis
Returns a list of ComObjects
.DESCRIPTION
This function has two parameter sets, it can either return all ComObject or a sub-section by the filter parameter. This information is gathered from the HKLM:\Software\Classes container.
.NOTES
Name: Get-ComObject
<#
.SYNOPSIS
Invokes the specified batch file and retains any environment variable changes
it makes.
.DESCRIPTION
Invoke the specified batch file (and parameters), but also propagate any
environment variable changes back to the PowerShell environment that
called it.
.PARAMETER Path
Path to a .bat or .cmd file.
"""
Pocket Calibre Recipe v1.4
"""
from calibre import strftime
from calibre.web.feeds.news import BasicNewsRecipe
from string import Template
import json
import operator
import re
import tempfile
@botmtl
botmtl / hide-blogger-warning.user.js
Created July 14, 2017 15:23 — forked from weedy/hide-blogger-warning.user.js
Automatically skips the obnoxious "Content warning" on Blogger sites (only those with blogspot.com domains).
// ==UserScript==
// @name Blogger Content Warning Skip
// @description Automatically skips the content warning on blogspot.com sites without reloading the page
// @grant none
// @match http://*.blogspot.ca/*
// @match http://*.blogspot.com/*
// ==/UserScript==
var fireEvent = function(obj,evt){
var fireOnThis = obj;
@botmtl
botmtl / html5reset.css
Created July 5, 2017 10:30 — forked from mhawksey/html5reset.css
Instant Google Custom Search Engine
<!DOCTYPE html>
<html lang="en">
<head>
<title>Instant Google Custom Search Engine (CSE)</title>
<meta charset="utf-8">
<meta name="description" content="Google Custom Instant">
<link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="html5reset.css" type="text/css" media="screen">
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
// ==UserScript==
// @name gaydemon epub download helper
// @namespace botmtl
// @version 0.2
// @description add download epub button on story list page
// @author botmtl
// @updateurl https://gist.githubusercontent.com/botmtl/7574c74e7c1badd868a4d7ebfdc80033/raw/697398c3f1dab4829625cc2090c70d33d69db8c1/GaydemonEpubDownloadHelper.user.js
// @icon http://www.gaydemon.com/apple-touch-icon-precomposed.png
// @match http://www.gaydemon.com/stories/*
// @grant none
# -*- coding: utf-8 -*-
# Copyright 2013 Fanficdownloader team, 2017 FanFicFare team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#