File: uri.js

package info (click to toggle)
conkeror 1.0.3%2Bgit170123-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,988 kB
  • sloc: ansic: 280; sh: 255; xml: 173; makefile: 69
file content (20 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * (C) Copyright 2007f Jeremy Maitin-Shepard
 *
 * Use, modification, and distribution are subject to the terms specified in the
 * COPYING file.
**/

// 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window

pref("browser.link.open_external", 3); // open externally-launched links in a new window

// handle links targeting new windows

pref("browser.link.open_newwindow", 3);


// 0: no restrictions - divert everything
// 1: don't divert window.open at all
// 2: don't divert window.open with features
pref("browser.link.open_newwindow.restriction", 0);