Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @author botmtl
// @namespace https://github.com/botmtl
// @name Auto-Copy-Links EbookHunter
// @version 0.01
// @description Auto-Copy-Links EbookHunter
// @icon https://www.ebookhunter.net/wp-content/uploads/2017/06/logo2.png
// @match https://www.ebookhunter.net/*
// @grant GM_setClipboard
// @run-at document-end
// ==UserScript==
// @name botmtl
// @namespace botmtl
// @description literotica sort/filter tables
// @match https?:\/\/(www)?.literotica.com/.*
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.16/js/jquery.dataTables.min.js
// @resource customCSS https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.16/css/jquery.dataTables.css
// @grant GM_addStyle
// @grant GM_getResourceText
@-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;
}
// ==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";
@botmtl
botmtl / hide-blogger-warning.user.js
Last active August 20, 2017 23:02 — forked from obeattie/hide-blogger-warning.user.js
Automatically skips the obnoxious "Content warning" on Blogger sites (only those with blogspot.com domains) — and doesn't require a page reload to do so. Winnah. To install using Google Chrome or Grasemonkey, click raw and you'll be prompted to install th
// ==UserScript==
// @name Blogger Content Warning Skip
// @description Automatically skips the content warning on blogspot.com sites without reloading the page
// @updateURL https://gist.github.com/botmtl/a59d6d1ffc0cfebb728c5640c5ee5293/raw/b6051fea9e418e4538b3565d32117f4fee77f98f/hide-blogger-warning.user.js
// @match http://*.blogspot.com/*
// ==/UserScript==
var fireEvent = function(obj,evt){
var fireOnThis = obj;
if (document.createEvent) {
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;
// ==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