mirror of
https://github.com/gchq/CyberChef
synced 2025-12-14 07:13:18 +00:00
Added new 'pretty' recipe format to make URLs more readable
This commit is contained in:
@@ -295,6 +295,9 @@ RecipeWaiter.prototype.getConfig = function() {
|
||||
option: ingList[j].previousSibling.children[0].textContent.slice(0, -1),
|
||||
string: ingList[j].value
|
||||
};
|
||||
} else if (ingList[j].getAttribute("type") === "number") {
|
||||
// number
|
||||
ingredients[j] = parseFloat(ingList[j].value, 10);
|
||||
} else {
|
||||
// all others
|
||||
ingredients[j] = ingList[j].value;
|
||||
|
||||
Reference in New Issue
Block a user