1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:37:58 +01:00

new popups=4 option

This commit is contained in:
Martin Stubenschrott
2008-05-24 12:02:50 +00:00
parent 9b3a00f3fd
commit b8dcad1d51
6 changed files with 11 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ Inactive/former developers:
* Viktor Kojouharov (Виктор Кожухаров) * Viktor Kojouharov (Виктор Кожухаров)
Patches (in no special order): Patches (in no special order):
* Lukas Mai
* Daniel Trstenjak (various things with hints) * Daniel Trstenjak (various things with hints)
* M.Terada (suggest engines) * M.Terada (suggest engines)
* Muthu Kannan (ctrl-v support) * Muthu Kannan (ctrl-v support)

4
NEWS
View File

@@ -1,4 +1,8 @@
<pre> <pre>
2008-05-14:
* version 1.1
* new popups=4 option
2008-05-14: 2008-05-14:
* version 1.0 * version 1.0
* THIS VERSION ONLY WORKS WITH FIREFOX 3.0 beta3 or newer * THIS VERSION ONLY WORKS WITH FIREFOX 3.0 beta3 or newer

1
TODO
View File

@@ -13,6 +13,7 @@ BUGS:
- :sidebar improvements (:sidebar! Downloads while downloads is open should refocus the sidebar) - :sidebar improvements (:sidebar! Downloads while downloads is open should refocus the sidebar)
- :sidebar History is broken - :sidebar History is broken
- http://www.maximonline.com/jokes/ - the prev and next buttons on the image map are not hinted - http://www.maximonline.com/jokes/ - the prev and next buttons on the image map are not hinted
- ;f seems broken after a page load
FEATURES: FEATURES:
8 middleclick in content == p, and if command line is open, paste there the clipboard buffer 8 middleclick in content == p, and if command line is open, paste there the clipboard buffer

View File

@@ -381,7 +381,7 @@ liberator.Options = function () //{{{
} }
// 1 2 3 4 5 6 // 1 2 3 4 5 6
var matches = args.match(/^\s*(no|inv)?([a-z]+)([?&!])?\s*(([+-^]?)=(.*))?\s*$/); var matches = args.match(/^\s*(no|inv)?([a-z_]+)([?&!])?\s*(([+-^]?)=(.*))?\s*$/);
if (!matches) if (!matches)
{ {
liberator.echoerr("E518: Unknown option: " + args); liberator.echoerr("E518: Unknown option: " + args);

View File

@@ -107,11 +107,12 @@ liberator.Tabs = function () //{{{
var values = [[0, 1], // always in current tab var values = [[0, 1], // always in current tab
[0, 3], // in a new tab [0, 3], // in a new tab
[2, 3], // in a new window if it has specified sizes [2, 3], // in a new window if it has specified sizes
[1, 2]];// always in new window [1, 2], // always in new window
[2, 1]];// current tab unless it has specified sizes
liberator.options.setPref("browser.link.open_newwindow.restriction", values[value][0]); liberator.options.setPref("browser.link.open_newwindow.restriction", values[value][0]);
liberator.options.setPref("browser.link.open_newwindow", values[value][1]); liberator.options.setPref("browser.link.open_newwindow", values[value][1]);
}, },
validator: function (value) { return (value >= 0 && value <= 3); } validator: function (value) { return (value >= 0 && value <= 4); }
}); });
liberator.options.add(["showtabline", "stal"], liberator.options.add(["showtabline", "stal"],

View File

@@ -415,6 +415,7 @@ they always open in a new tab. Possible values:
*1* Always open in a new tab *1* Always open in a new tab
*2* Open in a new window if it has a specific requested size (default in Firefox) *2* Open in a new window if it has a specific requested size (default in Firefox)
*3* Always open in a new window *3* Always open in a new window
*4* Open in the same tab unless it has a specific requested size
----------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------
NOTE: This option does not change the popup blocker of Firefox in any way. NOTE: This option does not change the popup blocker of Firefox in any way.