mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-28 23:28:16 +02:00
Enable/disable search via about:config pref
This commit is contained in:
parent
0bac4abcb5
commit
6cd9ae01cc
3 changed files with 10 additions and 2 deletions
|
@ -161,6 +161,9 @@ ChromeActions.prototype = {
|
|||
},
|
||||
pdfBugEnabled: function() {
|
||||
return getBoolPref(EXT_PREFIX + '.pdfBugEnabled', false);
|
||||
},
|
||||
searchEnabled: function() {
|
||||
return getBoolPref(EXT_PREFIX + '.searchEnabled', false);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue