shu8 / sechat-githuboneboxer Goto Github PK
View Code? Open in Web Editor NEWA userscript that oneboxes github inks on the client side on SE chat
Home Page: http://stackapps.com/q/6535/26088
License: MIT License
A userscript that oneboxes github inks on the client side on SE chat
Home Page: http://stackapps.com/q/6535/26088
License: MIT License
alternatively, mimic behaviour of the chat and only onebox if the link is the entire message
I posted https://github.com/ArcticEcho/Phamhilator/blob/990c63f50df9a8f7821a4ac5e85e01318eda951f/Phamhilator.Core/CommandProcessor.cs#L138-L141 in chat, and it turned into a box for the repository. Instead it should be the code instead:
new ChatCommand(...
{
new ReplyMes...
}, CommandAccess...
Earlier I posted a message in chat and was later informed that this script was messing with it.
Here is the content of the message (markdown)
:3839521 I've taken a shot at building [regexes for Smokey](https://github.com/Charcoal-SE/SmokeDetector/issues/86) based on the domains pulled from the IPs, so hopefully (assuming someone can add them to the code) those will get flagged in the future
and rendered
I've taken a shot at building regexes for Smokey based on the domains pulled from the IPs, so hopefully (assuming someone can add them to the code) those will get flagged in the future
But apparently my GitHub link was the only thing visible
This appears to be caused by the fact that the script only checks for a GitHub link and then completely overwrites the message once it gets the information.
This is related to #2, which was posted while I was typing this.
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.