tutorLocateClickableElement.mp4
Simulate a click with JavaScript for the element in the above video.
var clickEvent = document.createEvent("MouseEvents");
| lsblk | |
| sudo apt-get install python3-distutils | |
| curl -LOs https://archive.org/download/ia-pex/ia | |
| chmod +x ia | |
| ./ia help | |
| sudo ./ia configure | |
| sudo ./ia upload TZMOfficialChannel "./archive/" | |
| //sudo ./ia upload ia_20220829 "/media/mint/Operating System/Users/Windows10/Desktop/y2dpl/archive/" |
| // ==UserScript== | |
| // @name Add a Download option to the Discord Emoji Grid | |
| // @namespace https://gist.github.com/BoQsc/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author Public Domain | |
| // @match https://discord.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=discord.com | |
| // @grant GM_download | |
| // ==/UserScript== |
| //https://stackoverflow.com/a/25497538/3789797 | |
| setTimeout(location.reload.bind(location), 1000); |
| let emojiElements = document.querySelectorAll(".emoji"); | |
| let testdf; | |
| for (let i = 0; i < emojiElements.length; i++) { | |
| newlink = document.createElement('a'); | |
| newlink.innerHTML = 'Download <b>' + emojiElements[i].ariaLabel + '</b>'; | |
| newlink.setAttribute('title', 'Download'); | |
| newlink.setAttribute('Download', ''); | |
| newlink.setAttribute('target', '_blank'); | |
| testdf = emojiElements[i].currentSrc.match(/\/\/[^\/]+\/([^\.]+)/)[1]; |
| // ==UserScript== | |
| // @name Hide Youtube chipbar | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.3 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://m.youtube.com/ | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
| // @grant none | |
| // ==/UserScript== |
| <!-- https://stackoverflow.com/questions/47438425/border-collapse-collapse-removes-padding-from-table --> | |
| <style> | |
| container { | |
| display: block; | |
| width: 400px; | |
| height: 300px; | |
| margin: 40px auto; | |
| background: #ddd; |
| // ==UserScript== | |
| // @name Remove elements from a webpage. | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://*.com/profile-search/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com | |
| // @grant none | |
| // ==/UserScript== |