mirigana / mirigana Goto Github PK
View Code? Open in Web Editor NEWA chrome extension for adding furigana to annotate the tweets
Home Page: https://twitter.com/ctx_mirigana
License: MIT License
A chrome extension for adding furigana to annotate the tweets
Home Page: https://twitter.com/ctx_mirigana
License: MIT License
Not all tokens has the form <kana+kanji+kana>, for example: 「間に合う」
In the function renderRuby
(here), smashed
may also have hiragana inside, which would caused duplicated hiragana.
I have used [Hide furigana on selecting], but the furigana is still copied together when copying. Even when I turn off the extension in the panel, it will still be copied.
The only way to solve this problem is to disable the extension completely in Chrome
Maybe you can ignore tweets with no kana in it. (But it may be not so accurate. Further investigation is needed.)
进行设置后第二次打开,可能是过一段时间也可能是重启后就会变回默认设置。
试了下在Chrome上不会出现这个问题。
Add the credits to the readme file, and include the license file from 3rd-party libraries.
Twitter updated the DOM structure and this extension is stopped working.
I have submitted the hotfix 4 days ago but keeps getting rejected by the reason of:
Spam and Placement in the Store
I have no idea what's wrong with it.
I opened a ticket but didn't get replied yet.
https://groups.google.com/a/chromium.org/forum/?utm_medium=email&utm_source=footer#!topic/chromium-extensions/xPRwPoKl6MM
If you'd like to use the new version immediately, you can follow the instruction to load the unpacked extension in chrome:
https://developer.chrome.com/extensions/getstarted
Console reports:
Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "font-src 'self' <URL>".
The fonts from this extension are blobs begin with data:font/woff;base64,
Header of content-security-policy from Twitter:
content-security-policy: connect-src 'self' blob: https://*.giphy.com https://*.pscp.tv https://*.video.pscp.tv https://*.twimg.com https://api.twitter.com https://caps.twitter.com https://media.riffsy.com https://pay.twitter.com https://sentry.io https://ton.twitter.com https://twitter.com https://upload.twitter.com https://www.google-analytics.com https://vmap.snappytv.com https://vmapstage.snappytv.com https://vmaprel.snappytv.com https://vmap.grabyo.com https://mdhdsnappytv-vh.akamaihd.net https://mpdhdsnappytv-vh.akamaihd.net https://mmdhdsnappytv-vh.akamaihd.net https://smdhdsnappytv-vh.akamaihd.net https://smpdhdsnappytv-vh.akamaihd.net https://smmdhdsnappytv-vh.akamaihd.net https://rmdhdsnappytv-vh.akamaihd.net https://rmpdhdsnappytv-vh.akamaihd.net https://rmmdhdsnappytv-vh.akamaihd.net https://dwo3ckksxlb0v.cloudfront.net ; default-src 'self'; form-action 'self' https://twitter.com https://*.twitter.com; font-src 'self' https://*.twimg.com; frame-src 'self' https://twitter.com https://mobile.twitter.com https://pay.twitter.com https://cards-frame.twitter.com ; img-src 'self' blob: data: https://*.cdn.twitter.com https://ton.twitter.com https://*.twimg.com https://www.google-analytics.com https://www.periscope.tv https://www.pscp.tv https://media.riffsy.com https://*.giphy.com https://*.pscp.tv; manifest-src 'self'; media-src 'self' blob: https://twitter.com https://*.twimg.com https://*.vine.co https://*.pscp.tv https://*.video.pscp.tv https://*.giphy.com https://media.riffsy.com https://mdhdsnappytv-vh.akamaihd.net https://mpdhdsnappytv-vh.akamaihd.net https://mmdhdsnappytv-vh.akamaihd.net https://smdhdsnappytv-vh.akamaihd.net https://smpdhdsnappytv-vh.akamaihd.net https://smmdhdsnappytv-vh.akamaihd.net https://rmdhdsnappytv-vh.akamaihd.net https://rmpdhdsnappytv-vh.akamaihd.net https://rmmdhdsnappytv-vh.akamaihd.net https://dwo3ckksxlb0v.cloudfront.net; object-src 'none'; script-src 'self' 'unsafe-inline' https://*.twimg.com https://www.google-analytics.com https://twitter.com 'nonce-MWQyOGQ4ZjgtMDI3YS00ZjA4LWJhNTUtY2YzYWYwMTAwMWI4'; style-src 'self' 'unsafe-inline' https://*.twimg.com; worker-src 'self' blob:; report-uri https://twitter.com/i/csp_report?a=O5RXE%3D%3D%3D&ro=false
Reference: https://developers.google.com/web/fundamentals/security/csp
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.