[ / / / / / / / / / / / / / ] [ dir / 8teen / anita / ausneets / leftpol / nofap / radcorp / s / sonyeon ][Options][ watchlist ]

/pone/ - My Little Pony

All things pony, spoilered R34 is allowed (18+).
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

Rules and Info: https://8ch.net/pone/rules.html - Archive: https://8ch.archive.horse/pone/ - USE THE CATALOG: https://8ch.net/pone/catalog.html - Hate Spoilered Images? https://8ch.net/pone/spoilerscript.html

File (hide): 8d46589a617a82e⋯.png (278.46 KB, 789x1023, 263:341, un-spoiler-er.png) (h) (u)

File (hide): 30358c59cfdf227⋯.png (33.06 KB, 609x369, 203:123, how to install.PNG) (h) (u)

File (hide): 2e4a323ad31fcc4⋯.png (32.68 KB, 605x367, 605:367, unlimited choices.png) (h) (u)

[–]

0ab399 (25) No.286084>>286088 >>286092 >>286219 >>286344 [Watch Thread][Show All Posts]

Greetings fellow horsefuckers

If you're like me, and find the endless sea of spoiler icons a major annoyance when browsing porn threads, or simply find spoilers unnecessary, this script will disable it for you.

Installation

Grab the code from here: http://kumhofer.at/anonpaste/?905aa6eb9de27c0b#MBs5xFCqOsEWk7rNjSMfjf36RJjA3GO68JiF32Hcl3w=

or here: https://raw.githubusercontent.com/marktaiwan/8Chan-disable-spoiler-thumbnail/master/8chan%20disable%20spoiler%20thumbnail.js

Copy and paste the whole thing into your custom scripts tab inside the site's settings. That's it.

Additionally the script adds a simple option for you to toggle it on and off inside the General tab.

Caveat

Only newer images will have thumbnails generated for them. For old images they will remain hidden under spoiler.

The only way to check if a thumbnail exists is by fetching it. When visiting really long and ancient threads, it will results in a large number of 404 errors in your browser's console. It's not possible to suppress the errors and it's not something you should worry about as it won't impact your normal browsing.

If you encounter any bugs or unintentional breaking of functionalities, feel free to report them here in this thread.

0ab399 (25) No.286085

File (hide): 2bec5a3719e079c⋯.png (Spoiler Image, 89.9 KB, 878x828, 439:414, spoiler.PNG) (h) (u)

File (hide): 6f200cb1206b6eb⋯.png (Spoiler Image, 1.04 MB, 1346x807, 1346:807, no spoiler.PNG) (h) (u)


0ab399 (25) No.286088

>>286084 (OP)

So its finally possible, good news for the perv anons.


0ab399 (25) No.286092>>286190

>>286084 (OP)

From my experience, spoilers are used to hide pictures that genuinely need to be hidden. But thanks anyway


0ab399 (25) No.286190>>286195

>>286092

I like to live life dangerously.


0ab399 (25) No.286195

>>286190

go big or go home i guess


0ab399 (25) No.286212

Temporary patch for the broken webm thumbnails.


/*
Video thumbnail temp fix
*/
function fixVideoThumb() {
var $thumb = $(this);

var str = $thumb.prop('src');
var thumbImg;

if (str.endsWith('webm')) {
thumbImg = str.substring(0, str.lastIndexOf('webm')) + 'jpg';
}
if (str.endsWith('mp4')) {
thumbImg = str.substring(0, str.lastIndexOf('mp4')) + 'jpg;'
}

window.requestIdleCallback(() => $thumb.prop('poster', thumbImg));
}

$(document).ready(function () {
$('video.post-image').each(fixVideoThumb);
});
$(document).on('new_post', function (e, post) {
$(post).find(video.post-image).each(fixVideoThumb);
});


0ab399 (25) No.286219>>286225

>>286084 (OP)

doesn't work for me


0ab399 (25) No.286225

>>286219

What browser are you using? Also checked the settings page, you may have to enable it the first time.


0ab399 (25) No.286263>>286280 >>286281 >>286294

It's working just fine for me. Good work, OP


0ab399 (25) No.286280>>286281 >>286294

>>286263

Hello there fellow Pinkie Pie.

Hopefully people don't confuse us.


0ab399 (25) No.286281

File (hide): 1c46ee19bb0e059⋯.gif (509.28 KB, 600x338, 300:169, mlfw3210-4567865457898.gif) (h) (u)

>>286263

>>286280

Too late, am confused


0ab399 (25) No.286294

>>286263

>>286280

Flags were a mistake.

GEP


0ab399 (25) No.286299>>287984

Fixed the video thumbnail fix. The old one has a single typo that breaks for mp4 files.


/*
Video thumbnail temp fix
*/
function fixVideoThumb() {
var $thumb = $(this);

var str = $thumb.prop('src');
var thumbImg;

if (str.endsWith('webm')) {
thumbImg = str.substring(0, str.lastIndexOf('webm')) + 'jpg';
}
if (str.endsWith('mp4')) {
thumbImg = str.substring(0, str.lastIndexOf('mp4')) + 'jpg'
}

$thumb.prop('poster', thumbImg);
}

$(document).ready(function () {
$('video.post-image').each(fixVideoThumb);
});
$(document).on('new_post', function (e, post) {
$(post).find(video.post-image).each(fixVideoThumb);
});


0ab399 (25) No.286344

>>286084 (OP)

Why the fuck would anyone want to do that?


0ab399 (25) No.286349

Test


0ab399 (25) No.286625

File (hide): c9f6126fe0bce93⋯.webm (3.38 MB, 1300x824, 325:206, 2017-04-12 07-39-36.webm) (h) (u) [play once] [loop]

Hello Chrome users, Google recently introduced a new feature called "scroll anchoring" aimed to reduced page jumps caused by changes to page elements:

https://blog.google/products/chrome/taking-aim-annoying-page-jumps-chrome/

However, this would occasionally cause undesirable behaviors with 8chan's image expansion feature. To fix this, you can disable scroll anchoring by adding

body {overflow-anchor: none;}
to your custom CSS.


0ab399 (25) No.287854>>287855 >>287868 >>287871

File (hide): 7f337beb615d569⋯.png (56.95 KB, 1494x437, 1494:437, Screenshot_6.png) (h) (u)

Okay, could someone spoonfeed me please? I haven't touched the settings box in probably a couple months yet Iridium 8chan has a fourth of the options as Firefox 8chan. This cs works on Firefox yet not Iridium. I fucked around with Iridium's privacy settings, but even though it's not touching 8chan at all the problem persists. Did I accidentally tick some random box by accident at some point?


0ab399 (25) No.287855

>>287854

God who uses Iridium?


0ab399 (25) No.287868>>287871 >>287881

File (hide): 15bb312036b271d⋯.png (55.48 KB, 660x396, 5:3, ClipboardImage.png) (h) (u)

>>287854

I downloaded the portable version of the Iridium browser, and there doesn't seem to be any problem here.

What version are you on? Running any extensions?


0ab399 (25) No.287871>>287881

File (hide): 824c28e0a7a095f⋯.png (44.93 KB, 1191x743, 1191:743, ClipboardImage.png) (h) (u)

>>287854

>>287868

(p.s.)

Also, open up the dev console (F12) after you load the page and see if there are any error messages.


0ab399 (25) No.287881>>287890

File (hide): 55bd1fe141e3a9b⋯.png (17.77 KB, 713x445, 713:445, Screenshot_6.png) (h) (u)

>>287868

>>287871

>What version are you on? Running any extensions?

Version is 54.0 64bit, and the only extension I'm using is Ublock but I already tried turning it off

>Also, open up the dev console (F12) after you load the page and see if there are any error messages.

See pic. Doesn't look like anything. Although, I think I've already identified the problem: this script. If I take it off I get the full array of options again. It does the same thing in Firefox (I didn't notice last night else I would've said so) but at least it unspoilers things on that browser. Thanks for trying to help, though.


0ab399 (25) No.287890>>287892

>>287881

Ah, I'm quite sure what the problem was now.

When copy-pasting the code, you might have missed one of the / slashes in the header comment. I was able to replicate the exact same issue by doing that.


0ab399 (25) No.287892

File (hide): 474d2f4dccb259d⋯.jpg (27.23 KB, 500x375, 4:3, thanks.jpg) (h) (u)

>>287890

Ayy, thanks man! Got it working. Boy am I stupid.


0ab399 (25) No.287984

>>286299

More fix

/*
Video thumbnail temp fix
*/
function fixVideoThumb() {
var $thumb = $(this);

var str = $thumb.prop('src');
var thumbImg;

if (str.endsWith('webm')) {
thumbImg = str.substring(0, str.lastIndexOf('webm')) + 'jpg';
}
if (str.endsWith('mp4')) {
thumbImg = str.substring(0, str.lastIndexOf('mp4')) + 'jpg';
}

$thumb.prop('poster', thumbImg);
}

$(document).ready(function () {
$('video.post-image').each(fixVideoThumb);
});
$(document).on('new_post', function (e, post) {
$(post).find('video.post-image').each(fixVideoThumb);
});


fea4ff (1) No.289680>>289686

MODS!

Can someone Stickify this bitch up. keeping or ditching the spoiler system Is a pretty recurrent topic and this is definitely a helpful tool for those that want to browse /pone/ all natural.


3e7d88 (2) No.289686>>289692

>>289680

I have added it to the board pages here: https://8ch.net/pone/spoilerscript.html

Will soon add it to the announcement banner that contains the links to the rules/catalog/etc.

OP, I'm going to need an alternate contact for anyone experiencing bugs or other errors that I can add to the info.


bf2704 (1) No.289692>>289697


3e7d88 (2) No.289697

>>289692

That'll do just fine. Updating now.


14391e (1) No.290772

File (hide): 1d159f17d87d531⋯.jpg (Spoiler Image, 278.17 KB, 1440x2560, 9:16, heresy gross and foul.jpg) (h) (u)

Test.


ad1974 (1) No.294358

bump


661ba3 (1) No.300582

Hey. Don't lose this thread. Have you fags got the archive working again?


4c2801 (2) No.303440>>303441 >>303447

File (hide): 6039d2fd9896996⋯.png (Spoiler Image, 736.1 KB, 960x720, 4:3, 00130.png) (h) (u)

let's see…

Post last edited at

4c2801 (2) No.303441>>303447

>>303440

kudos to you, OP

Post last edited at

189b76 (1) No.303447

>>303441

>>303440

good, but read the rules fam


4576b6 (1) No.303495

Could someone with edit permission please edit the OP and this page https://8ch.net/pone/spoilerscript.html and remove the first download link from anonpaste? That one is not editable so only the github link stays up to date.


1e180b (2) No.304498>>304499

File (hide): b3024504927254e⋯.jpg (Spoiler Image, 37.27 KB, 576x576, 1:1, 12a44847bbd0a7e95be4f6db51….jpg) (h) (u)

Test…

If it doesn't work I'll go ghost as well.


1e180b (2) No.304499

>>304498

I figured out why it wasn't seemingly working for me, I had multiple tabs open, and the testing on new pages somehow made me lose my changes across tabs even after refresh, gotta be careful to not override myself.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
37 replies | 11 images | 11 UIDs | Page ???
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / 8teen / anita / ausneets / leftpol / nofap / radcorp / s / sonyeon ][ watchlist ]