Git Product home page Git Product logo

Comments (3)

tiansh avatar tiansh commented on July 18, 2024

你说的屏蔽点击翻页就是只能滑动的意思吗?可以加个选项倒是……

from reader.

tiansh avatar tiansh commented on July 18, 2024

目前 https://tiansh.github.io/reader/beta 可用,后续如果没有发现什么问题的话近期会正式将这个修改正式上线。

在高级配置里面加上如下这一段,其中的 prev, next 表示翻页,将其改为 menu (点击后显示操作菜单)或 noop (点击后什么都不做),就可以定制点击时候的效果,禁用翻页了。

[reader]
; 翻页模式时点击左中右侧的操作
; 半角逗号分隔,可选值 `prev`, `next`, `menu`, `noop`
flip_touch_action=prev,menu,next
; 滚动模式时点击上中下侧的操作
; 半角逗号分隔,可选值 `prev`, `next`, `menu`, `noop`
scroll_touch_action=prev,menu,next

from reader.

tiansh avatar tiansh commented on July 18, 2024

已经更新了,你在高级设置里面加上

[reader]
flip_touch_action=menu,menu,menu
scroll_touch_action=menu,menu,menu

或者把menu换成noop就可以了。使用menu会在点击的时候显示下面的那一排按钮,如果用noop就会完全没有反应。(仍然可以用翻页模式的触屏上滑、滚动模式的触屏右滑、点击鼠标次要键、键盘Esc键、键盘Tab键或其他可以对焦到对应按钮上的方式来打开菜单)

from reader.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.