Skip to content

Instantly share code, notes, and snippets.

View AAGaming00's full-sized avatar

AAGaming AAGaming00

View GitHub Profile
@AAGaming00
AAGaming00 / keybase.md
Created July 28, 2023 01:34
keybase proof

Keybase proof

I hereby claim:

  • I am aagaming00 on github.
  • I am aagaming (https://keybase.io/aagaming) on keybase.
  • I have a public key ASDWfok99ULBJ8w3PPb2Sh79uRV5pWvGk8gnCdigoHsNsgo

To claim this, I am signing this object:

UBO:
##div.r-1udh08x.r-1ifxtd0.r-rs99b7.r-1phboty.r-1867qdf.r-14wv3jr.r-g2wdr4.css-1dbjc4n:nth-of-type(3)
CSS:
#div.r-1udh08x.r-1ifxtd0.r-rs99b7.r-1phboty.r-1867qdf.r-14wv3jr.r-g2wdr4.css-1dbjc4n:nth-of-type(3) {
display: none !important;
}
@AAGaming00
AAGaming00 / disable-pageview-api.js
Created May 29, 2023 01:27 — forked from gwarser/disable-pageview-api.js
"Disable Page Visibility API" scriptlet for uBO
/// disable-pageview-api.js
// Based on: https://addons.mozilla.org/firefox/addon/disable-page-visibility/
// License: http://www.opensource.org/licenses/bsd-license.php
(function(){
// visibilitychange events are captured and stopped
document.addEventListener("visibilitychange", function(e) {
e.stopImmediatePropagation();
}, true);
// document.visibilityState always returns false
Object.defineProperty(Document.prototype, "hidden", {
@AAGaming00
AAGaming00 / disable-pageview-api.js
Created May 29, 2023 01:27 — forked from gwarser/disable-pageview-api.js
"Disable Page Visibility API" scriptlet for uBO
/// disable-pageview-api.js
// Based on: https://addons.mozilla.org/firefox/addon/disable-page-visibility/
// License: http://www.opensource.org/licenses/bsd-license.php
(function(){
// visibilitychange events are captured and stopped
document.addEventListener("visibilitychange", function(e) {
e.stopImmediatePropagation();
}, true);
// document.visibilityState always returns false
Object.defineProperty(Document.prototype, "hidden", {
@AAGaming00
AAGaming00 / altprotector.css
Created May 17, 2023 20:06
Discord alt screenshot protector css
@-moz-document domain("discord.com") {
/*
Alt protector
Copyright 2023 AAGaming
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#!/bin/sh
# for some reason DFS swaps disable these which breaks loopback nat
# https://github.com/openwrt/openwrt/issues/6110
# this works around it by checking them every 2 minutes and setting them back if they change
PORT=/sys/devices/virtual/net/br-lan/lower_wlan0
while true
do
@AAGaming00
AAGaming00 / fixCrossCode.sh
Created December 25, 2022 17:36
fix crosscode linux
#!/bin/sh
STEAMWORKS_FILE=steamworks_sdk_153a.zip
STEAMWORKS_URL=https://partner.steamgames.com/downloads/$STEAMWORKS_FILE
GREENWORKS_DIR=assets/modules/greenworks-nw-0.35/linux64
if [ ! -f $STEAMWORKS_FILE ];then
echo "Please download the Steamworks SDK from $STEAMWORKS_URL and place it in this directory. By downloading the Steamworks SDK, you are agreeing to the Steamworks SDK Access Agreement found at https://partner.steamgames.com/documentation/sdk_access_agreement"
exit 1
@AAGaming00
AAGaming00 / dnffix.sh
Created May 7, 2022 04:20
dnf fix for switch
#!/bin/bash
dnf install kernel-core-4.9.140-225.1.aarch64 kernel-devel-4.9.140-225.1.aarch64 kernel-headers-4.9.140-225.1.aarch64 kernel-modules-4.9.140-225.1.aarch64 kernel-switch-device-tree-4.9.140-225.1.aarch64 kernel-switch-device-tree-overlays-4.9.140-225.1.aarch64 kernel-switch-initramfs-4.9.140-225.1.aarch64
#!/bin/bash
# Simple single-command mfplat installation designed for use with protontricks
# https://github.com/Matoking/protontricks
#
# Licensed under CC0 1.0 Universal:
# https://creativecommons.org/publicdomain/zero/1.0/
PYTHON_INSTALLCAB_PATH="/tmp/mfplat-python-installcab";
INSTALLCAB_PY="python3 $PYTHON_INSTALLCAB_PATH/installcab.py";
WINETRICKS_CACHE_PATH=$(cd ~/.cache/winetricks; pwd);
@AAGaming00
AAGaming00 / webkitInspector.user.js
Created April 15, 2021 14:18
Fixes for old webkit inspector versions in chromium.
// ==UserScript==
// @name Webkit Inspector Fix
// @namespace Violentmonkey Scripts
// @match http://localhost:8888/webinspector/inspector.html
// @grant none
// @version 1.0
// @author -
// @description 4/15/2021, 10:04:41 AM
// ==/UserScript==
CSSStyleDeclaration.prototype.getPropertyCSSValue = CSSStyleDeclaration.prototype.getPropertyValue;