Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name VK Xiao - Ordena tópicos no fórum
// @namespace https://vk.com/xiaoxiaoflood
// @match https://vk.com/board*
// @match https://oauth.vk.com/blank.html
// @version 1.0
// @grant none
// @run-at document-start
// ==/UserScript==
// ==UserScript==
// @name Master Password+
// @author xiaoxiaoflood
// @include *
// @startup UC.masterPasswordPlus.exec(win);
// @shutdown UC.masterPasswordPlus.destroy();
// @onlyonce
// ==/UserScript==
@xiaoxiaoflood
xiaoxiaoflood / styloaix.uc.js
Last active April 4, 2021 21:25
styloaix tb78
// ==UserScript==
// @name StyloaiX
// @author xiaoxiaoflood
// @include main
// @shutdown UC.styloaix.destroy();
// @onlyonce
// ==/UserScript==
// inspired by legacy Stylish and https://github.com/Endor8/userChrome.js/blob/master/Updates%202019/UserCSSLoader.uc.js
// editor forked from Stylish - minor changes to edit.xhtml, but edit.js almost completely rewritten, with improvements and bug fixes.
// ==UserScript==
// @name checkForStyleEditorErrors
// @include chrome://devtools/content/shared/sourceeditor/codemirror/cmiframe.html
// ==/UserScript==
const {Services} = ChromeUtils.import('resource://gre/modules/Services.jsm');
let sss = Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService);
sss.loadAndRegisterSheet(Services.io.newURI('data:text/css;charset=UTF-8,' + encodeURIComponent(`
@xiaoxiaoflood
xiaoxiaoflood / highlightScrollbar.uc.js
Created June 30, 2019 18:59
demo. very incomplete.
// ==UserScript==
// @name highlightScrollbar.uc.js
// @include main
// ==/UserScript==
(function() {
messageManager.loadFrameScript('data:application/javascript;charset=UTF-8,' +
encodeURIComponent('('+(function(){
var dis = this;
// ==UserScript==
// @name enterSelects.uc.js
// @include main
// @startup UC.enterSelects.exec(win);
// @shutdown UC.enterSelects.destroy();
// @author xiaoxiaoflood
// @onlyonce
// ==/UserScript==
(function () {
// ==UserScript==
// @name Auto Page Translate
// @namespace http://www.orkut.com
// @include *://*.mozest.com/*
// @include *://bbs.kafan.cn/*
// @include *://www.camp-firefox.de/*
// @include *://www.firefox.net.cn/*
// @include *://egg.5ch.net/*
// @include *://mozilla.com.cn/*
// @noframes
// ==UserScript==
// @name Reddit Unread Comments
// @description On topic pages, show "X unread comments (Y total)"; on comment pages, highlight unread comments. Local storage only -- does not work across multiple computers.
// @author Xiao
// @namespace https://greasyfork.org/users/5802
// @include /^https?:\/\/[a-z]+\.reddit\.com\/.*/
// @require https://raw.githubusercontent.com/bgrins/TinyColor/master/tinycolor.js
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_listValues
// ==UserScript==
// @name VK Xiao
// @namespace https://vk.com/xiaoxiaoflood
// @description VK tweaks
// @match https://vk.com/*
// @version 1.4
// @downloadURL https://gist.githubusercontent.com/xiaoxiaoflood/2dc7432c2430528880b66ac825a47d19/raw/VKXiaoPlus.user.js
// @grant none
// @run-at document-start
// ==/UserScript==
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Wikipedia PT (FL)</ShortName>
<Description>Wikipedia PT Google I'm Feeling Lucky</Description>
<Url type="text/html" method="get" template="https://www.google.com.br/search?q=site%3Apt.wikipedia.org+{searchTerms}&amp;btnI=I%27m+Feeling+Lucky"/>
<Image width="16" height="16">http://icons.iconarchive.com/icons/sykonist/popular-sites/32/Wikipedia-icon.png</Image>
<Developer>Xiao Fleaud</Developer>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>https://pt.wikipedia.org/</moz:SearchForm>