|
|
@ -1,7 +1,7 @@ |
|
|
|
// ==UserScript==
|
|
|
|
// @name PNGExtraEmbed2
|
|
|
|
// @namespace https://coom.tech/
|
|
|
|
// @version 0.121
|
|
|
|
// @version 0.123
|
|
|
|
// @description uhh
|
|
|
|
// @author You
|
|
|
|
// @match https://boards.4channel.org/*
|
|
|
@ -14996,8 +14996,8 @@ |
|
|
|
if_block5.c(); |
|
|
|
attr(div0, "class", "place svelte-145c3cl"); |
|
|
|
toggle_class(div0, "contract", ctx[6]); |
|
|
|
toggle_class(div0, "hasembed", ctx[0]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(div0, "hasext", ctx[0]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(div0, "hasembed", ctx[0]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(div0, "hasext", ctx[0]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
attr(div1, "class", "hoverer svelte-145c3cl"); |
|
|
|
attr(div1, "id", "ihover"); |
|
|
|
toggle_class(div1, "visible", ctx[7] && ctx[6]); |
|
|
@ -15079,10 +15079,10 @@ |
|
|
|
toggle_class(div0, "contract", ctx2[6]); |
|
|
|
} |
|
|
|
if (dirty[0] & 1) { |
|
|
|
toggle_class(div0, "hasembed", ctx2[0]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(div0, "hasembed", ctx2[0]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
} |
|
|
|
if (dirty[0] & 1) { |
|
|
|
toggle_class(div0, "hasext", ctx2[0]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(div0, "hasext", ctx2[0]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
} |
|
|
|
if (ctx2[16]) { |
|
|
|
if (if_block3) { |
|
|
@ -15980,8 +15980,8 @@ |
|
|
|
attr(a, "href", a_href_value = ctx[11].source); |
|
|
|
attr(a, "target", "_blank"); |
|
|
|
attr(a, "class", "clickable svelte-1xjvk14"); |
|
|
|
toggle_class(a, "hasembed", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasext", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasembed", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasext", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasblack", ctx[11]?.isBlacklisted === true); |
|
|
|
}, |
|
|
|
m(target, anchor) { |
|
|
@ -15993,10 +15993,10 @@ |
|
|
|
attr(a, "href", a_href_value); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasembed", ctx2[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasembed", ctx2[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasext", ctx2[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasext", ctx2[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasblack", ctx2[11]?.isBlacklisted === true); |
|
|
@ -16020,8 +16020,8 @@ |
|
|
|
attr(a, "href", a_href_value = ctx[11].page.url); |
|
|
|
attr(a, "target", "_blank"); |
|
|
|
attr(a, "class", "clickable svelte-1xjvk14"); |
|
|
|
toggle_class(a, "hasembed", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasext", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasembed", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasext", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasblack", ctx[11]?.isBlacklisted === true); |
|
|
|
}, |
|
|
|
m(target, anchor) { |
|
|
@ -16035,10 +16035,10 @@ |
|
|
|
attr(a, "href", a_href_value); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasembed", ctx2[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasembed", ctx2[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasext", ctx2[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasext", ctx2[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasblack", ctx2[11]?.isBlacklisted === true); |
|
|
@ -16060,8 +16060,8 @@ |
|
|
|
a.textContent = "[PEE contract]"; |
|
|
|
attr(a, "alt", "By clicking this you agree to stay hydrated"); |
|
|
|
attr(a, "class", "clickable svelte-1xjvk14"); |
|
|
|
toggle_class(a, "hasembed", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasext", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasembed", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasext", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasblack", ctx[11]?.isBlacklisted === true); |
|
|
|
}, |
|
|
|
m(target, anchor) { |
|
|
@ -16073,10 +16073,10 @@ |
|
|
|
}, |
|
|
|
p(ctx2, dirty) { |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasembed", ctx2[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(a, "hasembed", ctx2[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasext", ctx2[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(a, "hasext", ctx2[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(a, "hasblack", ctx2[11]?.isBlacklisted === true); |
|
|
@ -16120,8 +16120,8 @@ |
|
|
|
if_block2_anchor = empty(); |
|
|
|
attr(span, "title", span_title_value = ctx[11].filename); |
|
|
|
attr(span, "class", "fa fa-download clickable svelte-1xjvk14"); |
|
|
|
toggle_class(span, "hasembed", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(span, "hasext", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(span, "hasembed", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(span, "hasext", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(span, "hasblack", ctx[11]?.isBlacklisted === true); |
|
|
|
}, |
|
|
|
m(target, anchor) { |
|
|
@ -16147,10 +16147,10 @@ |
|
|
|
attr(span, "title", span_title_value); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(span, "hasembed", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
toggle_class(span, "hasembed", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(span, "hasext", ctx[11]?.embed_type === 1 /* MEDIA_EMBED */); |
|
|
|
toggle_class(span, "hasext", ctx[11]?.embed_type === 0 /* THIRD_EYE */); |
|
|
|
} |
|
|
|
if (dirty & 1) { |
|
|
|
toggle_class(span, "hasblack", ctx[11]?.isBlacklisted === true); |
|
|
|