This file contains hidden or 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
| function ffz_init(){if(!document.querySelector("#ffz_script")){var e=document.createElement("script");if(e.id="ffz_script",e.type="text/javascript",e.src="//cdn.frankerfacez.com/script/script.min.js?_="+Date.now(),"true"==localStorage.ffzDebugMode){var r=new XMLHttpRequest;return r.open("GET","//localhost:8000/dev_server",!0),r.onload=function(n){var t=JSON.parse(r.responseText);console.log("FFZ: Development Server is present. Version "+t.version+" running from: "+t.path),e.src="//localhost:8000/script/script.js?_="+Date.now(),document.body.classList.add("ffz-dev"),document.head.appendChild(e)},r.onerror=function(r){console.log("FFZ: Development Server is not present. Using CDN."),document.head.appendChild(e)},r.send(null)}document.head.appendChild(e)}}ffz_init(); |
This file contains hidden or 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
| let command = null | |
| const observer = new MutationObserver(() => { | |
| const player = document.querySelector('#ytd-player') | |
| if (player && !command) { | |
| command = player.player_ | |
| .getPlaylist() | |
| .reduce( | |
| (acc, videoId) => { | |
| acc.push(`youtu.be/${videoId}`) | |
| return acc |
This file contains hidden or 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
| [ | |
| "Зеленая миля", | |
| "Список Шиндлера", | |
| "Побег из Шоушенка", | |
| "Форрест Гамп", | |
| "Властелин колец: Возвращение короля", | |
| "Властелин колец: Братство Кольца", | |
| "Тайна Коко", | |
| "Властелин колец: Две крепости", | |
| "Назад в будущее", |
This file contains hidden or 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
| { | |
| "ModSettings": { | |
| "highlight_foused_items": false, | |
| "highlight_foused_items_foreground": false, | |
| "enable_profiles": false, | |
| "enable_updates_check": false, | |
| "highlight_clicking_slot": false, | |
| "ignore_durability": false, | |
| "first_run": false | |
| }, |
This file contains hidden or 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
| {"version":2,"type":"full","values":{"exp-lock":1658571974582,"p:0:chat.filtering.highlight-mentions":true,"p:0:tooltip.badge-images":false,"p:0:player.vod.autoplay":false,"p:0:player.home.autoplay":false,"p:0:chat.badges.hidden":{"1":false,"2":true,"3":false},"profiles":[{"id":1,"name":"Moderation","i18n_key":"setting.profiles.moderation","description":"Settings that apply when you are a moderator of the current channel.","context":[{"type":"Moderator","data":true}],"uuid":"ffz_profile_moderation"},{"id":0,"name":"Default Profile","i18n_key":"setting.profiles.default","description":"Settings that apply everywhere on Twitch.","uuid":"ffz_profile_default"}],"p:0:chat.emote-menu.icon":false,"p:0:channel.auto-click-chat":true,"p:0:channel.auto-skip-trailer":true,"p:0:chat.delay":0,"p:0:chat.emote-menu.show-search":false,"p:0:addon.seventv_emotes.unlisted_emotes":true,"cfg-seen":["i18n.debug.capture","i18n.debug.transform","i18n.locale","i18n.format.date","i18n.format.time","i18n.format.datetime","data.use-stagin |
This file contains hidden or 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
| [{"name":"First Yes and Random","titles":["youtube ads evaluation","app ads on google search"],"pressing":9,"selected":true,"map":[0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},{"name":"Very Short (0:00 - 0:10)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,1,0,2,2,4,4,3,4,1,2,3,5]},{"name":"Very Short 2 (0:00 - 0:10)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,1,0,2,2,3,4,2,1,1,1,1,2]},{"name":"Pretty Short (0:10 - 0:25)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,0,2,1,2,5,3,3,3,2,1,2,5]},{"name":"Pretty Short 2 (0:10 - 0:25)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,0,2,1,2,5,3,2,2,1,2,1,4]},{"name":"Medium (0:25 - 0:50)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,1,1,1,0,4,2,3,3,2,1,2,3]},{"name":"Medium 2 (0:25 - 0:50)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,1,1,1,0,3,2,2,1,2,3,2,4]},{"name":"Pretty Long (0:50 - 02:00)","titles":"youtube ads evaluation","pressing":2,"map":[0,null,2,2,1,0,5,1,3,3 |
This file contains hidden or 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
| export default async function fetcher<T = unknown>( | |
| input: RequestInfo, | |
| init?: RequestInit | |
| ): Promise<T> { | |
| const response = await fetch(input, init) | |
| const data = await response.json() as T | |
| if (response.ok) { | |
| return data | |
| } |
This file contains hidden or 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
| function cakes(recipe, available) { | |
| return Object | |
| .keys(recipe) | |
| .reduce((acc, ingredient) => { | |
| const cakes = Math.floor( | |
| available[ingredient] / | |
| recipe[ingredient] || 0 | |
| ) | |
| return Math.min(cakes, acc) |
This file contains hidden or 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
| /** | |
| * Use like this: | |
| * | |
| * pluralize(2)`package${['s']}` | |
| * // packages | |
| * | |
| * pluralize(1)`package${['s']}` | |
| * // package | |
| * | |
| * pluralize(2)`agenc${['ies', 'y']}` |