--- mozilla/toolkit/mozapps/plugins/content/pluginInstallerDatasource.js.vendor 2005-07-14 22:29:05.000000000 +0200 +++ mozilla/toolkit/mozapps/plugins/content/pluginInstallerDatasource.js 2006-01-12 11:59:44.000000000 +0100 @@ -55,6 +55,8 @@ var prefBranch = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); this.dsURI = prefBranch.getCharPref("pfs.datasource.url"); + this.vendorSub = prefBranch.getCharPref("general.useragent.vendorSub"); + this.vendorComment = prefBranch.getCharPref("general.useragent.vendorComment"); } nsRDFItemUpdater.prototype = { @@ -66,6 +68,8 @@ dsURI = dsURI.replace(/%APP_VERSION%/g, this.buildID); dsURI = dsURI.replace(/%CLIENT_OS%/g, this.clientOS); dsURI = dsURI.replace(/%CHROME_LOCALE%/g, this.chromeLocale); + dsURI = dsURI.replace(/%VENDOR_SUB%/g, this.vendorSub); + dsURI = dsURI.replace(/%VENDOR_COMMENT%/g, this.vendorComment); var ds = this._rdfService.GetDataSource(dsURI); var rds = ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource)