Fix disable Opera support

This change will fix support for disabled in the most recent version of Opera and several older Opera version.
Merge pull request #267 from nephiw/patch-4

Fix disable Opera support