To post a list of your extensions, you can use this method:
var support_data = {}; window.addEventListener("WebChannelMessageToContent", function (e) { if (e.detail.id === "remote-troubleshooting") { data = e.detail.message; if (data === undefined) { console.log("FAILED retrieving support data -- make sure you are doing this in your support thread"); window.clearInterval(retryint); } else support_data = data; } }); var evt = new window.CustomEvent("WebChannelMessageToChrome", { detail: {id: "remote-troubleshooting", message: {command: "request"}} }); window.dispatchEvent(evt); function getExtensions(tgtTextarea){ var extarray = window.support_data.extensions; if (extarray === undefined) return; window.clearInterval(retryint); tgtTextarea.textContent += "\n'''Extensions in " + window.support_data.application.name + " " + window.support_data.application.version + "'''\n"; extarray.forEach( function (extobj){ if(extobj.isActive) tgtTextarea.textContent += "\n* '''" + extobj.name + "''' (" + extobj.version + ")<br>" + "ID: " + extobj.id + "\n"; else tgtTextarea.textContent += "\n* " + extobj.name + " (" + extobj.version + ") - DISABLED<br>" + "ID: " + extobj.id + "\n"; }); } var retryint = window.setInterval(function(){getExtensions(document.getElementById("id_content"))}, 1000);
Note: This script does not work outside of the context of a support thread. Last updated 3/21/2016.