Insecure HTTP:// Link Finder Bookmarklet
Drag this link into your bookmark bar of your browser (open your bookmark bar, if needed):
Go to a page to test for http:// links, click on the "HTTP:// Links? 1.1" bookmark in your browser's bookmark bar. http:// links should be highlighted in bright red. You may have to click on menus or tabs to see them. If there are none found, you should get a message saying so.
Warning: do not use on LibGuides text editor window, the highlight will be saved too!
For help:
If you need to add a bookmark from scratch, copy and paste this code in the URL field of your bookmark/favorites manager and name it appropriately.
javascript:(function(){let http=false;const ifs=document.getElementsByTagName('iframe');const docLs=document.links;const highlight = (links) => { for (let link of links) { if (link.href.includes('http://')) {console.log(link);link.style.border = 'thick solid red';http=true; } } };highlight(docLs);for (let ifr of ifs) {try {iDoc = ifr.contentDocument || ifr.contentWindow.document;let iDocLs=iDoc.links;highlight(iDocLs);} catch(e) {console.log('Error', e.message); } } if (http === false) {alert('Yay! No http:// links here.'); } })();