Build and commit changes
This commit is contained in:
parent
6fe13acb3c
commit
84069087fe
4 changed files with 42 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
||||||
// @match https://subscribestar.adult/*
|
// @match https://subscribestar.adult/*
|
||||||
// @grant none
|
// @grant none
|
||||||
// @downloadURL https://git.bowu.dev/bowu/UserScriptsPublic/raw/branch/main/build/free-porn.user.js
|
// @downloadURL https://git.bowu.dev/bowu/UserScriptsPublic/raw/branch/main/build/free-porn.user.js
|
||||||
// @version 1722611761037
|
// @version 1722697240310
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
10
build/youtube/music/warning-proceed.min.user.js
Normal file
10
build/youtube/music/warning-proceed.min.user.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// ==UserScript==
|
||||||
|
// @name music.youtube.com
|
||||||
|
// @description This skips the warning "The following content may contain suicide or self-harm topics." on music.youtube.com
|
||||||
|
// @namespace Bowud Scripts
|
||||||
|
// @match https://music.youtube.com/watch*
|
||||||
|
// @downloadURL https://git.bowu.dev/bowu/UserScriptsPublic/raw/branch/main/build/warning-proceed.min.user.js
|
||||||
|
// @version 1722697241878
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
"use strict";setInterval((function(){var e=document.querySelector("#error-screen");console.log({errorScreenEl:e});var o=e.querySelector("#reason");if(console.log({reasonEl:o}),"The following content may contain suicide or self-harm topics."===o.textContent){var r=e.querySelector('button[aria-label="I understand and wish to proceed"]');console.log({buttonEl:r}),r&&r.click()}}),100);
|
30
build/youtube/music/warning-proceed.user.js
Normal file
30
build/youtube/music/warning-proceed.user.js
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
// ==UserScript==
|
||||||
|
// @name music.youtube.com
|
||||||
|
// @description This skips the warning "The following content may contain suicide or self-harm topics." on music.youtube.com
|
||||||
|
// @namespace Bowud Scripts
|
||||||
|
// @match https://music.youtube.com/watch*
|
||||||
|
// @downloadURL https://git.bowu.dev/bowu/UserScriptsPublic/raw/branch/main/build/warning-proceed.user.js
|
||||||
|
// @version 1722697241878
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
setInterval(function () {
|
||||||
|
var errorScreenEl = document.querySelector("#error-screen");
|
||||||
|
console.log({
|
||||||
|
errorScreenEl: errorScreenEl
|
||||||
|
});
|
||||||
|
var reasonEl = errorScreenEl.querySelector("#reason");
|
||||||
|
console.log({
|
||||||
|
reasonEl: reasonEl
|
||||||
|
});
|
||||||
|
if (reasonEl.textContent === "The following content may contain suicide or self-harm topics.") {
|
||||||
|
var buttonEl = errorScreenEl.querySelector('button[aria-label="I understand and wish to proceed"]');
|
||||||
|
console.log({
|
||||||
|
buttonEl: buttonEl
|
||||||
|
});
|
||||||
|
if (buttonEl) {
|
||||||
|
buttonEl.click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, 100);
|
Loading…
Reference in a new issue