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
/** | |
* Remove super reaction guff | |
*/ | |
/* | |
target reactions with custom background | |
+ remove background | |
+ change cursor to ? | |
*/ |
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 zactopus' Twitch Tweaks | |
// @version 1.1.1 | |
// @grant none | |
// @match https://www.twitch.tv/* | |
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@1 | |
// ==/UserScript== | |
const logger = (...args) => { | |
return console.log("[zactopus' Twitch Tweaks]", ...args); |
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
# minified | |
javascript:!function(){let e=0;const r={philmitchell:["blue"],grant:["blue"],ernie:["grey"],wolfgang:["green"],babyChick:["yellow"],bobRoss:["blue","white","grey","green","brown","blue"],rainbow:["red","orange","yellow","green","blue","purple","pink"],pocPrideFlag:["black","brown","red","orange","yellow","green","blue","purple","pink"],agenderFlag:["black","grey","white","green","white","grey","black"],aromanticFlag:["green","green","white","grey","black"],asexualFlag:["black","grey","white","purple"],bisexualFlag:["pink","purple","blue"],genderfluidFlag:["pink","white","purple","black","blue"],genderQueerFlag:["purple","white","green"],intersexFlag:["yellow","purple","yellow"],lesbianFlag:["red","orange","white","pink","purple"],nonBinaryFlag:["yellow","white","purple","black"],pansexualFlag:["pink","yellow","blue"],polysexualFlag:["pink","green","blue"],transFlag:["blue","pink","white","pink","blue"]},l=[...r.rainbow,...Object.keys(r)],n=l[Math.floor(Math.random()*l.length)],a={philmitchell:"phil |
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
export const MOAT_TIMEOUT = 1000; | |
const handleMoatYieldReady = resolve => { | |
// being extra careful that this API is available because | |
// we shouldn't trust Moat works as expected... | |
if (!window.moatPrebidApi) { | |
return resolve({ moatYieldUnavailable: true }); | |
} | |
const { setMoatTargetingForAllSlots } = window.moatPrebidApi; |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import querystring from 'qs'; | |
const isYouTubeEmbedURL = url => | |
!!url.match(/^(https|http):\/\/(?:www\.)?youtube.com\/embed\/[A-z0-9]+/g); | |
const getYouTubeVideoId = url => { | |
const match = url.match(/\/embed\/([^?]+)/); | |
return match[1]; |
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
<iframe | |
width="560" | |
height="315" | |
src='https://www.youtube.com/embed/Yb7jFafo3x4?embed_config={"primaryThemeColor":"#FF0000","relatedChannels":["UCCpY-hecoW6hn3Gx7wpVyRw","UCWJ2lWNubArHWmf3FIHbfcQ"],"relatedVideos":["FXLk2rCG1yg","Yb7jFafo3x4"],"autonav":true,"disableRelatedVideos":true}' | |
frameborder="0" | |
allow="autoplay; encrypted-media" | |
allowfullscreen | |
> | |
</iframe> |
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
import React from 'react'; | |
const YouTubeAdWrapperExample = props => ( | |
<YouTubeAdWrapper url={props.url}> | |
{urlWithEmbedConfig => ( | |
<ExampleComponent {...props} url={urlWithEmbedConfig} /> | |
)} | |
</YouTubeAdWrapper> | |
); |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import querystring from 'qs'; | |
import { AdSlotConsumer } from './AdSlotConsumer'; | |
export const isYouTubeEmbedURL = url => | |
!!url.match(/^(https|http):\/\/(?:www\.)?youtube.com\/embed\/[A-z0-9]+/g); | |
const getYouTubeVideoId = embedUrl => { | |
const match = embedUrl.match(/\/embed\/([^?]+)/); |
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
const params = { | |
data: JSON.stringify({ | |
pubcode: "100796X1589911", | |
domains: [ | |
"beautyclub.glamourmagazine.co.uk", | |
"facebook.com", | |
"twitter.com", | |
"instagram.com", | |
"condenast.co.uk", |
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
require("dotenv").config(); | |
const fetch = require("node-fetch"); | |
const { | |
SKIMLINKS_CLIENT_ID, | |
SKIMLINKS_CLIENT_SECRET, | |
SKIMLINKS_PUBLISHED_ID | |
} = process.env; | |
// const EXAMPLE_URL = "https://www.asos.com/women/?skimoffer=865358"; |
NewerOlder