Can the code navigation feature be disabled?

The new-ish feature of “code navigation” that shows where a variable, function, or module is defined is pretty neat. But it rarely works for python imports. Is there a way to disable it per repository? I’ve built a prototype chrome extension that will find the correct repository within our organization and turn the import into a hyperlink, but the code navigation is hijacking the onclick behavior. Can the onclick be disabled with a html class or something?