Skip to content

Instantly share code, notes, and snippets.

@davidmerrick
Created May 29, 2020 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidmerrick/3924d9f31fe196680ccec48b44eba232 to your computer and use it in GitHub Desktop.
Save davidmerrick/3924d9f31fe196680ccec48b44eba232 to your computer and use it in GitHub Desktop.
SimplePractice toggle self view bookmarklet
// Toggles hidden state of self view when using SimplePractice telehealth
function toggleSelfView(){
var selfView = document.getElementById("publisher")
if (selfView.style.display === "none") {
selfView.style.display = "block";
} else {
selfView.style.display = "none";
}
}
toggleSelfView();
// Minified via https://chriszarate.github.io/bookmarkleter/
javascript:void%20function(){(function(){var%20a=document.getElementById(%22publisher%22);a.style.display=%22none%22===a.style.display%3F%22block%22:%22none%22})()}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment