Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promoted url script, fixed error, added icon #244

Merged
merged 1 commit into from
Jul 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
}
}