Skip to content

Instantly share code, notes, and snippets.

View SidharthArya's full-sized avatar
❤️

Sidharth Arya SidharthArya

❤️
View GitHub Profile
@SidharthArya
SidharthArya / a.js
Created March 6, 2023 13:14
Get full path of current inspected element
crumb = function(node) {
var idOrClass = (node.id && "#"+node.id) || (""+node.classList && (" "+node.classList).replace(/ /g, "."));
return node.tagName.toLowerCase() + idOrClass;};
crumbPath = function(node) {return node.parentNode ? crumbPath(node.parentNode).concat(crumb(node)) : [];};
crumbPath($0);
@SidharthArya
SidharthArya / movie-web-autonext.js
Last active February 21, 2024 20:44
movie-web-autonext Tampermonkey
// ==UserScript==
// @name movie-web-autonext
// @namespace http://tampermonkey.net/
// @version 2024-02-21
// @description try to take over the world!
// @author You
// @match https://movie-web.app/media/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=movie-web.app
// @grant none
// ==/UserScript==