diff --git a/dencode.js b/dencode.js index a19fa25..3f8faa5 100644 --- a/dencode.js +++ b/dencode.js @@ -82,6 +82,24 @@ } } }, + { + "id": "decodequotedprintable", + "name": "Decode quoted printable", + "convert": function (input) { + try { + return { + "status": "ERROR", + "content": "Sorry, not supported yet!" + }; + } catch (exception) { + return { + "status": "ERROR", + "content": "Invalid quoted printable string." + }; + } + }, + "disabled": true + }, { "id": "base64encode", "name": "Encode Base64", @@ -127,6 +145,17 @@ .replace(/\"/g, """) }; } + }, + { + "id": "encodequotedprintable", + "name": "Encode quoted printable", + "convert": function (input) { + return { + "status": "ERROR", + "content": "Sorry, not supported yet!" + }; + }, + "disabled": true } ]; @@ -140,6 +169,9 @@ for (i = 0; i < plugins.length; i++) { plugin = plugins[i]; option = optiontemplate.replace(/\{identifier\}/g, plugin.id).replace(/\{name\}/g, plugin.name); + if (plugin.disabled) { + option = $(option).attr("disabled", "disabled")[0].outerHTML; + } options += option; } template = template.replace(/\{options\}/g, options);