How do I turn off a plugin in reading mode?

What I’m trying to do

I’d really like to know how to deactivate plugins in reading mode. I’m using the virtual linker, and I love it, but whenever I add blocks, they view in reading mode unless my cursor is inside them, and the virtual linker seems to link more erratically in reading mode (which I don’t want it to be on in, at all, anyway, because I find it messy).

Things I have tried

I used to just deactivate the virtual linker in reading mode but that doesn’t work when it’s hybrid reading/editing mode, like what seems to happen when you embed files or add blocks.
I have tried looking through the coding for the virtual linker file and searched for ‘readmode’ but I don’t know how to code. I tried deleting the two mentions:

// linker/readModeLinker.ts
var import_obsidian3 = require(“obsidian”);

and

// linker/readModeLinker.ts
var GlossaryLinker = class extends import_obsidian3.MarkdownRenderChild {
constructor(app, settings, context, containerEl) {
super(containerEl);
this.settings = settings;
this.app = app;
this.ctx = context;
this.linkerCache = LinkerCache.getInstance(app, settings);
this.load();
}

But deleting these deactivated the plugin entirely, so that didn’t work.