In this video, I show you a handy trick to enhance your NowLearning experience. If you're tired of squinting at the small lesson viewer window in ServiceNow's NowLearning platform, this simple bookmarklet allows you to resize the lesson viewer to fit your screen perfectly, making it easier and more comfortable to follow along with the lessons.

In this step-by-step guide, we'll walk you through how to install and use the bookmarklet, ensuring that you can maximize your learning potential without any hassle. Whether you're a ServiceNow beginner or a seasoned user looking to optimize your learning experience, this hack is sure to come in handy.


๐ŸŒด Goal: Automate resizing the lesson viewer

Steps:

  1. Create a bookmarklet to resize the lesson viewer
javascript:(function() {
var iframe = document.querySelector('.scorm-iframe');
if (iframe) {
  iframe.style.height = '57.5em';
} else {
  alert('No iframe with class "scorm-iframe" found.');
}

2. Copy/paste this as a new bookmark