const openChat = phone => {
const link = document.createElement("a");
link.setAttribute("href", `whatsapp://send?phone=${phone}`);
document.body.append(link);
link.click();
document.body.removeChild(link);
};
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function Flatten-Json() { | |
| Param( | |
| [Parameter(Mandatory)] | |
| [Object] | |
| $JsonObject, | |
| [Parameter(Mandatory = $False)] | |
| [String] | |
| $Delimiter = ":" | |
| ) |
Bookmarklet for rail.co.il 🚆
- Create a new bookmark.
- Under the
URLfield enter the javascript line below. - Replace the
${FromStationID}and${ToStationID}with your desired stations.- The station IDs relevant to you can be found under the Rail Station IDs section.
- Works properly in Chrome and Firefox.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Add your desirable color pallete over here | |
| * { | |
| --primary-text-color: [COLOR]; | |
| --primary-background-color: [COLOR]; | |
| --secondary-text-color: [COLOR]; | |
| --secondary-background-color: [COLOR]; | |
| --disabled-text-color: [COLOR]; | |
| --highlight-background-color: [COLOR]; | |
| --hover-message-color: [COLOR]; |