This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Helper function to check if all characters in a string are the same | |
function allSame(str) { | |
return str.split('').every(char => char === str[0]); | |
} | |
// Helper function to check if a string is a palindrome | |
function isPalindrome(str) { | |
return str === str.split('').reverse().join(''); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader get Habr stats | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.1 | |
// @description Shows comments and rating counter for Habr articles | |
// @author Kenya-West | |
// @grant GM_registerMenuCommand | |
// @grant GM_unregisterMenuCommand | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader copy cover image | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.2 | |
// @description Copy cover image of the post you selected in article list view | |
// @author Kenya-West | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* | |
// @match https://*.inoreader.com/folder* | |
// @match https://*.inoreader.com/starred* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader autoplay video in card view | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.2 | |
// @description Autoplays Telegram video generated by RSS-Bridge feed when user chooses "card view" (press `4`) | |
// @author Kenya-West | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* | |
// @match https://*.inoreader.com/folder* | |
// @match https://*.inoreader.com/starred* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader dynamic height of tiles in the card view | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1.0 | |
// @description Makes cards' heights to be dynamic depending on image height | |
// @author Kenya-West | |
// @match https://*.inoreader.com/* | |
// @icon https://inoreader.com/favicon.ico?v=8 | |
// @license MIT | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader replace comss.ru domain with comss.one | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.1 | |
// @description Replaces comss.ru links to comss.one for those who try to access comss.ru website from outside of Russian Federation | |
// @author Kenya-West | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* | |
// @match https://*.inoreader.com/folder* | |
// @match https://*.inoreader.com/starred* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader highlight transparent images | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.4 | |
// @description Hightlights transparent images in InoReader with a white border | |
// @author Kenya-West | |
// @require https://cdnjs.cloudflare.com/ajax/libs/color-thief/2.3.0/color-thief.umd.js | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* | |
// @match https://*.inoreader.com/folder* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader restore lost images and videos | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.10 | |
// @description Loads new images and videos from VK and Telegram in InoReader articles | |
// @author Kenya-West | |
// @grant GM_registerMenuCommand | |
// @grant GM_unregisterMenuCommand | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Navigate to https://www.cbr.ru/currency_base/dynamics/ | |
// 2. Open browser devtools | |
// 3. Paste this code | |
// 4. it outputs an array with currencies codes and text names | |
Array.from(document.querySelectorAll("#UniDbQuery_VAL_NM_RQ > option")).map((elem) => { return { value: elem.value, name: elem.innerText?.trim() } }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InoReader follow inner links | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.4 | |
// @description Script for InoReader that allows to open links that are presented in the article. Press `:` (`;`) to focus a link, or press `'` (`"`) to focus previous ones. Press `[` (`{`) or `]` (`}`) to open selected link in a new tab. | |
// @author Kenya-West | |
// @require https://unpkg.com/[email protected]/dist/hotkeys.js | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* | |
// @match https://*.inoreader.com/folder* |
NewerOlder