Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:

Far Se Far-Se

:shipit:
  • Iasi
View GitHub Profile
View pricy.css
#pricy-container .arrow,#pricy-iframe{display:none}#pricy-loading-icon{border:0;height:500px;width:500px}.pricy-wrapper{height:500px;width:500px;max-width:500px;padding:0;background-color:#fff;border:1px solid #000;z-index:999}#pricy-container{z-index:999}#pricy-container .popover-content{padding:0}#pricy-container .popover{max-width:none;padding-top:0;width:auto;margin-top:0;border:0;box-shadow:none}#pricy-loading-icon{background:url(chrome-extension://__MSG_@@extension_id__/images/loading.gif) center center no-repeat}
View pricy.js
(function () {
var CurrentUrlService = function () {
var getUrl = function () {
return new Promise(function (resolve, reject) {
if (chrome.tabs) {
chrome.tabs.query({
currentWindow: true,
active: true
}, function (tabs) {
resolve(tabs[0].url);
@Far-Se
Far-Se / reddit_preview.js
Last active Dec 19, 2020
Reddit Preview images and Youtube links in comments
View reddit_preview.js
// ==UserScript==
// @name Reddit Preview YT and Imgs
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.reddit.com/*
// @grant none
// ==/UserScript==
document.body.addEventListener('mouseover', e => {
@Far-Se
Far-Se / yt-remove-liked-videos-v2.js
Last active Feb 1, 2021
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.
View yt-remove-liked-videos-v2.js
//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;
View localitiesUSR.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View localities.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View yt-trending.js
View test.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Far-Se
Far-Se / youtube-recommended.js
Last active Dec 8, 2019
Filter Youtube Recommended to show only less then a month, with different styles for hours days and weeks.
View youtube-recommended.js
@Far-Se
Far-Se / Spotify Command Line list.ini
Last active Aug 17, 2018
Spotify Command Line list
View Spotify Command Line list.ini
#Add -- before each.
#To remote debug Spotify:
--remote-debugging-port=9222
#Then Open Chrome, chrome://inspect and Select port 9222
allow-upgrades
ap
app-directory
app-icon-overlay