mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-27 18:11:20 +00:00
Update chrome.js
This commit is contained in:
parent
d88132da05
commit
821b3748df
|
|
@ -1242,6 +1242,12 @@ var ChromeObject = function() {
|
|||
return this.getEvaluatedValue('(confirm("' + s + '") ? "true" : "false")');
|
||||
};
|
||||
|
||||
// @deprecated
|
||||
this.setVendor = function(vendor) {
|
||||
this.setPublisherName(vendor);
|
||||
console.warn("Deprecated: setVendor, Alternative: setPublisherName");
|
||||
};
|
||||
|
||||
this.setPublisherName = function(publisherName) {
|
||||
var publisherName = publisherName.toLowerCase();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user