I want to open all links in the same window instead in new window. I tried

profile.setPreference("browser.link.open_newwindow", 1)

but the result is:

WARNING: traffic.loop 0 error: Preference browser.link.open_external may not be overridden: frozen value=2, requested value=1

Is there an another way to open the links in the same window ?

Edit
Report