The easier way is to put an option in the preferences, disabled my default, and let the user decide.