Compare commits

..

No commits in common. "4cb86951c2378a264829c796f41817b9e54a6f32" and "1bac1977a54df889ac7f4b9a853d9b7ac4cd41c5" have entirely different histories.

2 changed files with 2 additions and 24 deletions

View File

@ -6,7 +6,7 @@
// @grant GM_getResourceURL
// @require https://cdn.jsdelivr.net/npm/dialog-polyfill@0.5.6/dist/dialog-polyfill.min.js#sha256-cec1a2e320aab77e28bad4ad6bc5e532a6ef5757345c19bb5158aa880b7162a6
// @resource dialogPolyfillCSS https://cdn.jsdelivr.net/npm/dialog-polyfill@0.5.6/dist/dialog-polyfill.min.css#sha256-4dcb3ab62e545f30bf06a4824c253641ee889ca85ca28d5447590557922496ab
// @version 1.0.9
// @version 1.0.8
// @author blankie
// @description A userscript that adds a "Show elements popup" option to the Monkey Menu which lists all elements with an ID
// @inject-into content
@ -19,7 +19,6 @@ const ACCENT_COLOR = "#962AC3";
const BRIGHT_ACCENT_COLOR = "#DE6DE6";
const DIALOG_WRAPPER_CSS = `
all: unset;
position: fixed;
top: 0;
width: 100%;

View File

@ -3,7 +3,7 @@
// @namespace blankie-scripts
// @match http*://*/*
// @grant none
// @version 1.8
// @version 1.7
// @author blankie
// @run-at document-end
// @description Removes image loading placeholders
@ -173,26 +173,6 @@ function securelist() {
document.head.appendChild(style);
}
// https://vulcan.io/blog/
// https://vulcan.io/blog/ai-hallucinations-package-risk
function vulcan() {
for (let element of document.querySelectorAll("img[nitro-lazy-src]")) {
const addLink = element.parentNode.tagName !== "A";
const url = new URL(element.getAttribute("nitro-lazy-src"), location);
if (addLink) {
const newElement = element.cloneNode();
newElement.src = url.href;
const wrapper = document.createElement("a");
wrapper.href = url.href;
wrapper.appendChild(newElement);
element.replaceWith(wrapper);
} else {
element.src = url.href;
}
}
}
switch (location.host) {
case "closeronline.co.uk": closeronline(); break;
case "www.indiatoday.in": indiatoday(); break;
@ -202,6 +182,5 @@ switch (location.host) {
case "www.theautopian.com": theautopian(); break;
case "www.bleepingcomputer.com": bleepingcomputer(); break;
case "securelist.com": securelist(); break;
case "vulcan.io": vulcan(); break;
default: wordpress(); break;
};