Skip to content

Commit

Permalink
Merge pull request IvanMathy#244 from IvanMathy/pr/192
Browse files Browse the repository at this point in the history
Promoted url script, fixed error, added icon
  • Loading branch information
IvanMathy authored Jul 10, 2021
2 parents 4ba179e + 1c5e0f8 commit 33bed96
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "icons8-percentage.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
{
"api":1,
"name":"URL Decode (full)",
"description":"URL Decodes all characters",
"name":"URL Entities Decode",
"description":"URL Decodes all characters in your text.",
"author":"luisfontes19",
"icon":"link",
"icon":"percentage",
"tags":"url,decode,full",
"bias": -0.1
}
**/

Expand All @@ -15,12 +16,12 @@ function fullUrlDecode(str) {
var decoded = '';

for (var i = 0; i < codes.length; i++) {
decoded += String.fromCharCode(parseInt(c, 16));
decoded += String.fromCharCode(parseInt(codes[i], 16));
}

return decoded;
}

function main(state) {
state.text = fullUrlDecode(state.text);
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
{
"api":1,
"name":"URL Encode (full)",
"description":"URL Encodes all characters",
"name":"URL Entity Encode",
"description":"URL Encodes all characters in your text.",
"author":"luisfontes19",
"icon":"link",
"icon":"percentage",
"tags":"url,encode,full",
"bias": -0.1
}
**/

Expand All @@ -23,4 +24,4 @@ function fullUrlEncode(str) {

function main(state) {
state.text = fullUrlEncode(state.text);
}
}

0 comments on commit 33bed96

Please sign in to comment.