goatsalad / megukascript Goto Github PK
View Code? Open in Web Editor NEWUserscript for the meguca imageboard
Userscript for the meguca imageboard
CAPS LOCK IS CRUISE CONTROL FOR COOL
Should probably remove it from the userscript so we don't get conflicts.
Must contain info on what each thing thing does and how to use it.
Most of the dice coloring from this script was merged into meguca.
We can remove the parts that are included in meguca, but the rest of the dice handling needs to be updated to handle the new HTML that the dice are in. ie, the decision doesn't work if the die is already highlighted when it comes from the server
Something went really wrong, and we can’t process that file.
Uh, OK Github. Not sure why my screenshot won't upload, but see this post for an example: https://meguca.org/a/3266749?last=100#p3294716
Remove all text in the post header (Anonymous 14 Jan 2018 (Sun) 00:27 No.3290223) as well as post contents when user posts #blanc
It shows it for half a second and then you can't see it anymore.
You can on another tab.
It's great that you updated the shamiko URL but there are a hell of a lot of alternative domains now. I don't have a full list but I have a good 10 or so that are not here
Most of the rolls currently use standard css colors (like "blue") which don't look good at all.
Find some new, but similar, colors for each of them, keeping in mind what color they will end up being after 10 seconds (time used on the meguca server).
I'm not sure this still works at all since the regex won't catch the dice rolls anymore after the meguca patch, so just modify it to take fake rolls in order to test it.
Breaks on (You)s and needs to be bold.
I imagine doing something like the trashcan would work.
Stupid bakas keep saying it links to r/a/dio and that it doesn't show etc etc.
Gotta make the eden bar the r/a/dio killer.
Use stenography encoded in image as variant pixel colors with references to each position in one fixed position.
Detect if meido and disable sekritpost image reading.
Something like the shares roll.
#roulette (3/4) and such
Certain features are broken when the script is used with Violentmonkey instead of Tampermonkey. I haven't tested everything, but at the very least image sekritposting and the music player are broken.
Error when using the music player:
[Violentmonkey][page][megucascript]
ReferenceError: currentlyEnabledOptions is not defined
currentlyEnabledOptions is not defined
Line 1353, column 58:
if (currentlyEnabledOptions.has("enablemegucaplayer")) mgcPl_setupPlaylist();
^
Error when hovering over a picture with a sekritpost:
Uncaught TypeError: Cannot read property 'substring' of undefined
at onload (<anonymous>:383:61)
at <anonymous>:1:5796
at d (<anonymous>:1:5841)
at w (<anonymous>:1:15799)
at HTMLDocument.<anonymous> (<anonymous>:1:4221)
Tested with both Opera and Waterfox. Features work fine using Tampermonkey with the same browsers.
Fixing the CSS is enough to make it work probably.
Firefox
Some stuff is now integrated on meguca so someone needs to remove them.
Doesn't show the menu and the functions don't work.
This is likely a fairly simple fix, since most userscripts that use greasemonkey work on Falkon.
Not sure if it's submit or read.
before you go, can you please write me a feature about identifying "wait anon" and "anon wait" posts?
you can put something after the name like (dumb haiku poster) or (haiku inquisition) or something like that
It's annoying to have duplicates of the same image and stale sekritposts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.