Skip to content

Instantly share code, notes, and snippets.

View androidacy-user's full-sized avatar
😬
Slacking off at work

Androidacy Service Account androidacy-user

😬
Slacking off at work
View GitHub Profile
@androidacy-user
androidacy-user / AutoplayStop.js
Created February 10, 2022 17:11
AutoplayStop script
// ==UserScript==
// @name AutoplayStop
// @namespace androidacy.com
// @version 2.1
// @description Prevent (almost) all videos from autoplay
// @include *
// @run-at document-start
// @license MIT
!function(){"use strict";let e=!1,t=(()=>{let e=document.createElement("iframe"),t={};try{e.sandbox="allow-same-origin",document.documentElement.insertBefore(e,document.documentElement.firstChild);for(let n of Object.getOwnPropertyNames(e.contentWindow))try{t[n]=e.contentWindow[n].prototype}catch(e){}return t}finally{document.documentElement.removeChild(e)}})(),n=function(e,n){let r=e.__proto__;try{return e.__proto__=t[r.constructor.name],n(e)}finally{e.__proto__=r}},r=function(e){let t={};for(let n in e)try{e[n]instanceof Function&&(t[n]={override:function(r){return e[n]=r(e[n]),t}})}catch(r){t[n]={property:function({getter:r,setter:o=(()=>{})}){return Object.defineProperty(e,n,{get:r,configurable:!1,enumerable:!0,set:o}),t},constant:function(r){return Object.defineProperty(e,n,{value:r,configurable:!1,enumerabl

Keybase proof

I hereby claim:

  • I am alexa-v2 on github.

  • I am linuxandria (https://keybase.io/linuxandria) on keybase.

  • I have a public key ASBIYgekMWLnJZ8JEu7ko_02m69fOPzE0yQdXm7_LHUo9wo

hi there