This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Twitter to fxtwitter | |
// @namespace http://tampermonkey.net/ | |
// @version 2.0 | |
// @description Replace `twitter` to `fxtwitter` when sharing links | |
// @author Maary | |
// @match https://twitter.com/* | |
// @match https://mobile.twitter.com/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* https://github.com/cvzi/telegram-bot-cloudflare | |
*/ | |
const TOKEN = ENV_BOT_TOKEN // Get it from @BotFather https://core.telegram.org/bots#6-botfather | |
const WEBHOOK = '/endpoint' | |
const SECRET = ENV_BOT_SECRET // A-Z, a-z, 0-9, _ and - | |
const UA = 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Download a Chrome extension from the webstore. | |
# Extract it to a specified path. | |
# | |
# Author: Werner Robitza | |
set -e | |
CHROME_VERSION="101.0.4951.57" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import requests | |
apiAddress = "http://127.0.0.1:8081/" | |
urlPrefix = apiAddress + "bot" + os.getenv("TELEGRAM_TOKEN") | |
def findString(sourceStr, targetStr): | |
if str(sourceStr).find(str(targetStr)) == -1: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 2022-03-04 https://www.ithome.com | |
||cmt.ithome.com/comment/$subdocument | |
! 2022-03-04 https://sspai.com | |
sspai.com###article-comment-box | |
! 2022-03-12 https://t.bilibili.com | |
||s1.hdslb.com/bfs/static/blive/blfe-dynamic-web/static/img/background.bc725153.png$image | |
! 2022-03-14 https://www.geeksforgeeks.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp /usr/lib/systemd/system/bluetooth.service /etc/systemd/system/ | |
sed -i -r 's/ExecStart=.+/& -E/' /etc/systemd/system/bluetooth.service | |
systemctl daemon-reload | |
systemctl restart bluetooth |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####################################################################### | |
# Author: GwenDragon, <https://labs.gwendragon.de/blog/> | |
# License: GPL | |
####################################################################### | |
# 2021-06-25 removed custom.css support | |
# commented custom.css shell commands | |
# users can now use vivaldi://experiments to change CSS in UI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Global Media Controls Panel | |
* Written by Tam710562 | |
*/ | |
(function () { | |
'use strict'; | |
const gnoh = { | |
createElement: function (tagName, attribute, parent, inner, options) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Adblock Plus 2.0] | |
! Version: 202211180347 | |
! Title: Maary's List | |
! 2022-03-04 https://www.ithome.com | |
||cmt.ithome.com/comment/$subdocument | |
! 2022-03-04 https://sspai.com | |
sspai.com###article-comment-box |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Abema 区域限制 | |
// @version 1.0.0 | |
// @run-at document-end | |
// @namespace Violentmonkey Scripts | |
// @match https://abema.tv/* | |
// @grant none | |
// ==/UserScript== | |
Object.defineProperty(__CLIENT_REGION__, 'isAllowed', { | |
get: () => true |
NewerOlder