patwonder / flashgestures Goto Github PK
View Code? Open in Web Editor NEWResolve mouse gestures usability problem on plugins like Adobe Flash
Resolve mouse gestures usability problem on plugins like Adobe Flash
准确的说,是开启点击播放后,在未激活该插件时,无法在黑色占位符上生效。
Hi there I saw you discontinued this due to drop of NPAPI support.
I am making an addon using js-ctypes which works over flash and all other plugins. It does the same thing as NPAPI but without NPAPI. And it does it on Mac OS X and all Linux systems as well. I can help you extract the platform hook's from MouseControl and put it into your own addon so you can do the gestures. Would you like that?
Current issues:
Currently, right click DOM events are disabled on elements that hosts a plugin in order to let mouse gestures work.
For windowed plugins, this is not an issue, since the WM_MOUSEDOWN messages are forwarded back to the original window if no gesture is detected. However, for windowless plugins like wmode=opaque or wmode=transparent Flash plugin, this hack will completely disable the context menu since it is based on DOM events.
Branch "context-menu-fix" implements a workaround for this, but the context menu does not appear near the cursor (it always appears in the bottom-right corner of the desktop). This should be further investigated.
Allow users to set a hostname whitelist for "Force plugins to use windowed mode" option.
Websites in the whitelist will not be affected by the "Force plugins to use windowed mode" option.
Due to the focus handler in AppIntegration.jsm, once the plugin object gains focus it is instantly blurred away. While this is OK for windowed plugins (they have their own focus), it makes some windowless plugins never gain input focus.
Unfortunately, the focus handler is required for hotkeys to work, thus cannot be easily disabled. Workaround is needed to address this issue.
Test case:
Any video on http://www.tudou.com/. Just login and try enter some comment.
Add an icon for the add-on.
如图所示,点击屏蔽设定flash就崩溃了,有时候点击播放都会崩溃。
FlashGestures的设置是默认的
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
nightly44+FlashGestures1.2.2
视频链接:http://www.bilibili.com/video/av3041158/
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.