首页 生产工具 Full-ON

Full-ON

用户数 : 5 分类 : 生产工具 扩展大小 : 122KiB 最后更新时间 : 2019-06-21 版本 : 1.0.1.9
                            This web-extension helps you to easily enlarge your screen-into a "fullscreen" mode, 
by a simple double-click (or double-tap for mobile devices), 
get it back to "normal mode" by double-clicking again. 

In addition (and this is still "work in progress")
I've researched various ways to also "keep your screen ON" 
a.k.a no dimming/ no shutting down/ no screen-saver/ no power-save mode 
and found (again) various ways (some are hacks, some are legitimate APIs, 
and some are an additions you can only experience on the bleading-edge of trunk/developer build-drivers.


The "prevent screen dimming/sleeping" seems to work find on Chrome (mobile) and older Firefox (mobile) but not newer versions of Firefox (mobile), so... still "work in progress"...

...but at least it is an easy way to get into fullscreen mode in mobile :]


Known Issues:
double-click used to zoom in-out pages, 
it is also responsible for a problem slowing each click you do in a 300ms.
this is way I'm fixing it by making sure your page includes a proper <code>viewport</code>, 
and the following CSS rule injected:
<code>
-webkit-touch-action:   pan-x pan-y pinch-zoom !important;
   -moz-touch-action:   pan-x pan-y pinch-zoom !important;
    -ms-touch-action:   pan-x pan-y pinch-zoom !important;
     -o-touch-action:   pan-x pan-y pinch-zoom !important;
        touch-action:   pan-x pan-y pinch-zoom !important;
-webkit-touch-action:   manipulation !important;
   -moz-touch-action:   manipulation !important;
    -ms-touch-action:   manipulation !important;
     -o-touch-action:   manipulation !important;
        touch-action:   manipulation !important;
</code>
as a side effect, it should speed-up browsering slightly as well (it will also support old versions of browsers)

Double-clicking the page often select thumbnails or text.
I am not doing a "prevent default" here!
I'm keeping the original way the browser behave as much as possible, 
if you find (and you'll often would) that double-clicking to go to fullscreen 
also marks something, simple click something else to remove the selection.

you actually want to double click something but you end up going fullscreen.
this is not a problem, this is the simplest way to implement it (I wondered for a while on tripple-click but I've prefered to kept it simple).

you've click something instead of a blank part of the page (a link/ a thumnail..). 
simply try to find an empty part of the screen for double-click action.

The <strong>prevent sleep</strong>/<strong>prevent screen dimming</strong> does not work.
it is a work in progress,
currently I'm mixing some ways to do it using a modified https://github.com/richtr/NoSleep.js
and various other APIs (some old, some new).

see fails and lesson learns in https://github.com/eladkarako/api_awake.git (source-included)



I've basically made this web-extension for myself, and then decided to share it with everyone, because sharing is caring. it's nothing fancy but it is small, quick and it works. If you've enjoyed using it I'll be thrilled to hear all about it in the review section.

Full-ON is 100% free (as beer..), include no ads (I hate those!), does NOT collect any data, include NO analytics and works entirely offline.
                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功