Mephiles / torntools_extension

A browser extension for Torn.com
GNU General Public License v3.0
106 stars 60 forks source link

Quick QOL for other developers #775

Closed oeo closed 4 months ago

oeo commented 8 months ago

Could you kindly create a settings feature to reduce the console verbosity especially with the FeatureManager class. when trying to write other scripts, TT hogs up the console output.

Kwack-Kwack commented 8 months ago

I understand it can be annoying, however logged responses can be filtered out via the console.

On chrome, simply right-click on a log from the Featuremanager and select Hide messages from featureManager.js to add it to the filter. I believe in firefox you may need to manually add -featureManager.js to the ignore list.

oeo commented 8 months ago

Oh thanks that's actually useful. I've been doing this in Chrome to catch them all though which is why I recommended a setting within TT.

-featuremanager -deprecation -database.js -[violation] -gesture -fetch.inject.js -xhr.inject.js -database.js

Sashank999 commented 6 months ago

We will change the logs to be logged only when developer mode is enabled in TornTools settings.

Sashank999 commented 4 months ago

Added in 1da129a828f1e2554f1ab6ef23176160a4c2f935 .