COMMENT
𝗠𝗮𝗱𝗲 𝗯𝘆 𝗧𝗵𝗲𝗕𝗲𝘀𝘁𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿 🧑💻
https://n9.cl/thebestdeveloper
COMMENT
𝗖𝗵𝗮𝗻𝗴𝗲𝗹𝗼𝗴 📄
DeveloperKit [V0]
[+] Added main shortcut functions
COMMENT
📜 𝗣𝗿𝗼𝘁𝗲𝗰𝘁𝗲𝗱 𝗯𝘆 𝗖𝗼𝗽𝘆𝗿𝗶𝗴𝗵𝘁
🪪 Certificate: https://app.copyrighted.com/work/6F7WlGgDjwNPkhbT
TEXT
1.0

Text
VARIABLES
Set variable
Main: Version
to
Texte
SCRIPTING
If
Shortcut Input
has any value
SCRIPTING
Get dictionary from
Shortcut Input

Dictionary
SCRIPTING
If
Dictionnaire
does not have any value
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
End If

If Result
VARIABLES
Set variable
Shortcut: Main Entry
to
Dictionnaire
SCRIPTING
Get
Value
for
request
in
Shortcut: Main Entry

Dictionary Value
SCRIPTING
If
Valeur du dictionnaire
does not have any value
MISSING
output Under Construction
SCRIPTING
Otherwise
VARIABLES
Set variable
Shortcut: Request
to
Valeur du dictionnaire
SCRIPTING
End If

If Result
COMMENT
Functions
SCRIPTING
If
Shortcut: Request
contains
Version
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
Ping
SCRIPTING
Get
Wi-Fi
network's
Network Name

Network Details
SCRIPTING
If
Détails du réseau
does not have any value
MISSING
output Under Construction
SCRIPTING
Exit shortcut with
Result
SCRIPTING
Otherwise
SCRIPTING
End If

If Result
SCRIPTING
Get
Value
for
ip
in
Shortcut: Main Entry

Dictionary Value
MISSING
Under Construction
TEXT
<html>
<head>
<script>
const inputText = `
sortie
`;
const timeValues = inputText.match(/time=(\d+(\.\d+)?)\s*ms/g);
if (timeValues) {
const averageValue = calculateAverage(timeValues);
document.write(averageValue);
}
function calculateAverage(values) {
const numbers = values.map(val => parseFloat(val.match(/\d+(\.\d+)?/)[0]));
const sum = numbers.reduce((acc, num) => acc + num, 0);
const average = (sum / numbers.length).toFixed(2);
return average;
}
</script>
</head>
<body></body>
</html>

Text
SCRIPTING
Mode
Texte
with base64

Base64 Encoded
URL
data:text/html;base64,
Base64 Encoded

URL
SAFARI
Get contents of web page at
URL

Contents of Web Page
DOCUMENTS
Get text from
Contenu de la page web

Text
MISSING
output Under Construction
SCRIPTING
Exit shortcut with
Result
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
ConnectedToWifi?
SCRIPTING
Get
Wi-Fi
network's
Network Name

Network Details
SCRIPTING
If
Détails du réseau
does not have any value
MISSING
output Under Construction
SCRIPTING
Otherwise
MISSING
output Under Construction
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
ConnectedToInternet?
SCRIPTING
Get current IP address
Options Under Construction

Current IP Address
SCRIPTING
If
Adresse IP actuelle
does not have any value
MISSING
output Under Construction
SCRIPTING
Otherwise
MISSING
output Under Construction
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
Location
LOCATION
Get current weather at
Current Location

Weather Conditions
LOCATION
Get
Location
from
Conditions météo

Location
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
RunJavaScript
SCRIPTING
Get
Value
for
code
in
Shortcut: Main Entry

Dictionary Value
TEXT
Code

Text
SCRIPTING
Mode
Texte
with base64

Base64 Encoded
URL
data:text/html;base64,
Base64 Encoded

URL
SAFARI
Get contents of web page at
URL

Contents of Web Page
DOCUMENTS
Get text from
Contenu de la page web

Text
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
Timezone
URL
https://get.geojs.io/v1/ip/geo.json

URL
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
SCRIPTING
Get dictionary from
Contenu de l’URL

Dictionary
SCRIPTING
Get
Value
for
timezone
in
Dictionnaire

Dictionary Value
DOCUMENTS
Replace
\/
with
/
in
Valeur du dictionnaire

Updated Text
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
CensorText
SCRIPTING
Get
Value
for
text
in
Shortcut: Main Entry

Dictionary Value
URL
https://www.purgomalum.com/service/json?text=
Valeur du dictionnaire

URL
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
SCRIPTING
Get dictionary from
Contenu de l’URL

Dictionary
SCRIPTING
Get
Value
for
result
in
Dictionnaire

Dictionary Value
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
UserLanguage
URL
data:text/html,<script>document.write(navigator.language)</script>

URL
SAFARI
Get contents of web page at
URL

Contents of Web Page
DOCUMENTS
Get text from
Contenu de la page web

Text
MISSING
output Under Construction
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut: Request
contains
CheckForUpdates
SCRIPTING
Get
Value
for
ID
in
Shortcut: Main Entry

Dictionary Value
SCRIPTING
Get
Value
for
Version
in
Shortcut: Main Entry

Dictionary Value
URL
https://routinehub.co/api/v1/shortcuts/
Api ID
/versions/latest

URL
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
SCRIPTING
Get dictionary from
Contenu de l’URL

Dictionary
VARIABLES
Set variable
RoutineHub: Response
to
Dictionnaire
SCRIPTING
Get
Value
for
Version
in
RoutineHub: Response

Dictionary Value
SCRIPTING
If
Routinehub Version
is greater than
ShortcutID