Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 01-20-2026, 01:00 PM   #1
AzEsm
Junior Member
AzEsm began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2026
Device: none
How to: disable clickable side-margins

How to disable clickable side-margins for Calibre Portable Viewer 8 on Windows.


----------------------------------------------------------------------------------------------------------


Hide side-margins arrows:

In the file Calibre\app\resources\viewer.html

Line
<symbol viewBox="0 0 1792 1792" id="icon-caret-right">
change to
<symbol viewBox="0 0 1792 1792" id="icon-caret-right" style="display:none">

Line
<symbol viewBox="0 0 1792 1792" id="icon-caret-left">
change to
<symbol viewBox="0 0 1792 1792" id="icon-caret-left" style="display:none">


----------------------------------------------------------------------------------------------------------

Disable click:

In the file Calibre\app\resources\viewer.js after line

View.prototype.side_margin_clicked = function side_margin_clicked(which, event) {

add

var self = this;
self.focus_iframe();
return;


Disable cursor change

In this part

sel = ".book-side-margin";
ans = ρσ_interpolate_kwargs.call(this, build_rule, [sel].concat([ρσ_desugar_kwargs({cursor: "pointer", text_align: "center", height: "100dvh", user_select: "none", display: "flex", align_items: "center", justify_content: "space-between", flex_direction: "column"})]));

change "pointer" to "default"
AzEsm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odyssey How to disable margins when reading a manga ? LeVraiRoiDHyrule Bookeen 0 06-23-2019 11:28 AM
Double Window Layout (Note) / Side by Side View (Max2) glober Onyx Boox 1 03-26-2018 04:10 AM
Top and bottom margins with side loaded EPUB chromeuser Kobo Reader 16 10-21-2016 05:41 AM
margins cutting off last character on right side theguywhoateapie Library Management 4 11-07-2012 03:34 AM


All times are GMT -4. The time now is 05:48 PM.


MobileRead.com is a privately owned, operated and funded community.