Skip to content

Instantly share code, notes, and snippets.

View Far-Se's full-sized avatar
🦝

Far Se Far-Se

🦝
  • Iasi
View GitHub Profile
@Far-Se
Far-Se / yt-remove-liked-videos-v2.js
Last active October 16, 2022 03:19
Youtube delete all liked videos. Hover your mouse on the 3 dots then hit F4. If video is deleted, go with the mouse to the next one. Install AutoHotKey first.
//Open DevTools and paste this in Console.
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function deleteLikedVideos() {
'use strict';
var items = document.querySelectorAll('ytd-menu-renderer > yt-icon-button.dropdown-trigger > button[aria-label]');
var out;
@Far-Se
Far-Se / shows.js
Last active October 8, 2021 05:59
Upcoming TV Shows
(async()=>{
let json = await (await fetch('https://api.tvmaze.com/schedule/full')).json(),
data = [];
(json.filter(d=>d._embedded.show.rating.average && d.number === 1 && d._embedded.show.network?.country.code === "US"))
.forEach(d=>data.push({title:d._embedded.show.name, season:d.season, airdate:d.airdate, type:d._embedded.show.type, genre:d._embedded.show.genres.join(", "), rating:d._embedded.show.rating?.average}));
console.clear();
console.table(data);
}
)();
@Far-Se
Far-Se / google-play.js
Last active August 18, 2022 06:04
Google Play See Maximum Installs and Release Date.
// ==UserScript==
// @name Google PlayStore Info
// @namespace http://tampermonkey.net/
// @version 9.1.2
// @description try to take over the world!
// @author You
// @match https://play.google.com/store/*
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://play.google.com
// @grant none
// ==/UserScript==
let fetch = require("cross-fetch");
let fs = require("fs");
let process = require("process");
var ffmpeg = require("fluent-ffmpeg");
const cliProgress = require('cli-progress');
const cliSelect = require('cli-select');
const REMOVE_ALL_MP4 = true;
const progressBar = new cliProgress.SingleBar({}, cliProgress.Presets.shades_classic);
@Far-Se
Far-Se / youtube-fresh-videos.js
Last active January 3, 2022 15:15
User Script for Youtube to see only videos newer than 1 month on Main Page.
// ==UserScript==
// @name Youtube Fresh Videos only
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Filter Youtube Recommended to show only less then a month, with different styles for hours days and weeks.
// @author Your Grandma
// @match https://www.youtube.com/
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://youtube.com
// @grant none
// ==/UserScript==
@Far-Se
Far-Se / pricy.js
Created January 6, 2022 08:27
Pricy Checker Tampermonkey
// ==UserScript==
// @name Pricy Check Price
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.emag.ro/*
// #match https://*/*
// @icon https://www.google.com/s2/favicons?domain=emag.ro
// @run-at context-menu
@Far-Se
Far-Se / yt-sidebar.js
Last active July 20, 2022 05:24
Youtube new Sidebar, cleaner and playlists separated from Youtube generated lists.
// ==UserScript==
// @name Youtube New Sidebar
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Youtube new Sidebar, cleaner and playlists separated from Youtube generated lists.
// @author Your Grandma
// @match https://www.youtube.com/*
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://youtube.com
// @grant none
// ==/UserScript==
@Far-Se
Far-Se / discord-avatar.js
Created January 26, 2022 09:08
Discord Tampermonkey script to change avatar and status automatically, at each hour.
// ==UserScript==
// @name Discord Avatar
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://discord.com/channels/*
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://discord.com
// @grant GM_xmlhttpRequest
// @grant GM.setValue
@Far-Se
Far-Se / trello_dark.js
Created January 29, 2022 09:29
Trello Dark Mode for Tampermonkey/Stylus
// ==UserScript==
// @name xCSS Trello
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://trello.com/*
// @match https://*.trello.com/*
// @grant none
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://www.w3schools.com/
@Far-Se
Far-Se / discord-shortcuts.js
Last active January 31, 2022 07:42
Discord edit shortcuts
// ==UserScript==
// @name Discord Shortcuts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://discord.com/*
// @icon https://icons.duckduckgo.com/ip2/discord.com.ico
// @grant none
// ==/UserScript==