pouët.net

Pouet UserScripts / UserStyles / ..

category: offtopic [glöplog]
@raina: nice one!
@noby: Oh I thought I fixed that, apparently I didn't - will let you know when I did :D
added on the 2014-01-07 10:33:11 by mog mog
Apparently you did. Blame me for not realizing had been updated =)
added on the 2014-01-07 10:59:14 by noby noby
HTTPouëtS updated to also rewrite Pouët link hrefs to reduce breaking of the back button.
added on the 2014-01-23 18:10:03 by raina raina
Pouët oneliner handles userstyle

Shows user handles next to avatars on Pouët's oneliner log making discussion easier to follow. Leaves the latest box on the frontpage untouched.

Code:@namespace url(http://www.w3.org/1999/xhtml); @-moz-document regexp("^https?://(www|m)\.pouet\.net/oneliner\.php.*") { .usera::after { vertical-align: baseline; content: attr(title) ":"; margin-left: .75ex; font-weight: bold; font-size: 90%; color: #fff; } }
added on the 2014-05-09 08:12:44 by raina raina
mog: any chance you redo these scripts for pouet v2.0 ?
Or do they work, just only not on my side?
hardy: uh, which ones do you need? The userHover still works for me - pretty sure the preview one is fucked though :\
added on the 2014-05-10 12:56:55 by mog mog
hmm, the userHover doesnt work on my side, Firefox. Watching through the code for a few seconds tells me it has nothing too specific about pouet itself, so it should still work, yes. damn, too bad then, only affects me i guess.
The others dont work here aswell btw, including rainas last post! (oneliner handles)
While my own scripts work like a charm. strange!
mog's userhover script and raina's oneliner script don't really like each other (also, raina's script only works on oneliner.php)
added on the 2014-05-10 17:11:39 by Tomoya Tomoya
UserHover for some reason removes the user link's title attribute and replaces it with data-title. The oneliner style was expecting original markup. So I updated it to have both so it should be compatible now. But UserHover seems to have other problems in the oneliner pages: when hovering over an avatar, the popup pops up every 1 second and disappears again quickly and this is without my or any other User* running.
added on the 2014-05-11 13:10:04 by raina raina
Yup, works now! Would be cool to have it on the frontpage (index) aswell, tho. ;)
The userHover does absolutely nothing here. firefox 29.0.1
From the person who brought you the "Pouet bb-codeizer for winnars!", which was later reformed and integrated in to the site itself, I bring you the Pouet Quotizer for Winnars!

I'd tell you it slices and dices, but it sadly it doesn't have any pointy bits. However it does
  • Add attributions to bb-code quotes generated by the per-post quote link
  • Detect added attributions and combine them with the "Quote:" text above quotes

The second feature is not visible to people who don't use this script. (Of course.) Any attributions made in the same style before this script pretty much won't get pulled out and up as the detection is cheap but slightly more specific. Any false positives should be rare. (I hope.)

Test quote to give more or less instant results to those who install the script and refresh this page:
Quote:
by AMcBain:
From the person who brought you the "Pouet bb-codeizer for winnars!"
Quote:
by AMcBain:
I fabricated this inner quote. It's all LIES!


(Disclaimer: This is a resurrection of an attempt I made before that had broken since and was removed from whatever script it was in, so if you remember seeing something like this before you're not dreaming or misremembering.)
In Pouët oneliner handles release 1.2 LTS Hardy Har Har, we give you the choice of whether the style should apply to the latest shouts on the frontpage or not. Just make your selection on the script page (the new default is now "Yes") and hit Install/Update.

And AMcBain, that seems cool, gotta check it out.
added on the 2014-05-11 19:59:34 by raina raina
:D thanxalot! works as intended!
Would be awesome if userscripts/custom CSS could be added by Pouet itself. Sometimes I browse Pouet on an iPad and/or IE11, both browsers don't support custom CSS...
added on the 2014-05-13 13:31:36 by dr_evil dr_evil
Just in case people forgot or didn't know, BBS posts are tagged with a class indicating the user ID. If you want to make a particular troll, er, person disappear just add something like the following to your Stylish add-on (Firefox) or equivalent in other browsers:

Code:.cite-665, .cite-665 + .foot { display: none; }

As Stylish by default affects all sites, and more than one site uses a similar post tagging, you may wish to limit the scope:
Code:@-moz-document url-prefix(http://www.pouet.net/), url-prefix(https://www.pouet.net/) { .cite-665, .cite-665 + .foot { display: none; } }


This does not prevent seeing quotes of parts of the hidden messages, of course. If you have knowledge of CSS you can do other things to make the post still be there, but diminished. I'll note though that the background for the threads is black so by default changing out opacity for display will make the posts darker, not simply faded out.
I use AdBlock for this (User-Filter):

"pouet.net##div.cite-<userid>"
added on the 2014-11-02 02:59:19 by Salinga Salinga
Doesn't that keep the footer, though? In prod comments the footer is contained in the element with the cite class, but on the BBS it's a separate element after. I suppose that's just fine if you would like to know they were there just not read it.
Hi all, I made a user-style for pouet.net to change the color scheme and add some other cool things.

You can change the colors to any hue you want by changing the variables, even the trumpet background. It does not effect the images (Because it is not hue-shitfing).

Grab the .css file
added on the 2021-03-15 20:35:12 by 71uid 71uid
@71uid's theme in orange (with the extra stuff disabled)

BB Image
added on the 2021-03-15 20:49:52 by wrighter wrighter
I'm still fond of this (not so cpu friendly though):
Code:@-moz-document url-prefix("https://www.pouet.net/") { body { background : black url(http://eltopo.untergrund.net/funny_stuff/colcyc48.gif); background-repeat : repeat; } }
added on the 2021-03-15 22:58:20 by El Topo El Topo
Nowadays, I use the Super Styles extension that lets you inject CSS and JS to pages.

For pouet, I wrote this JS snippet that adds a tiny thumbnail next to any prod link

Code:{ const formats = ["gif", "png", "jpg", "jpeg"]; const prodLinkThumbnailClassname = "prod-link-thumbnail"; const selector = `a[href*='prod.php?which=']:not([data-${prodLinkThumbnailClassname}])`; (function addProdLinkThumbnails() { const qq = Array.from(document.querySelectorAll(selector)).sort(a => .5 - Math.random()).slice(0, 64); qq.forEach(e => { const paddedPID = ("0000000" + e.getAttribute("href").split("=").pop()).slice(-8); const screenshotURL = `https://content.pouet.net/files/screenshots/${paddedPID.substr(0, 5)}/${paddedPID}.`; const b = document.createElement("b"); b.className = prodLinkThumbnailClassname; b.style = `width: 4em; height: 3em; display: inline-block; vertical-align: middle; margin-inline-end: 1ex; background: ${formats.map(f => `url(${screenshotURL}${f}) 50% / contain no-repeat`).join(",") }`; e.setAttribute(`data-${prodLinkThumbnailClassname}`, true); e.insertBefore(b, e.firstChild); }); setTimeout(addProdLinkThumbnails, 250); })(); }
added on the 2021-03-17 13:37:49 by p01 p01
been using this to show screenshots when mouseover on prod urls (in toplist.php and party.php), was useful to streamline some stuff for the demoscene report videos. script was slightly adapted from some older pouet userscript (pouet plus says random code comment). if anyone else finds this useful, knock yourself out using it / improving it.
added on the 2022-12-02 00:44:26 by psenough psenough

login