CP Jump Error Alerts

CP Jump Error Alerts

// ==UserScript==
// @name CP Jump Error Alerts
// @namespace info.thegreatdivide
// @description Gives alerts for hidden cp jump frames in PP
// @version 1
// @grant none
// @author Sean Walter
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @include https://cpjump.inmotionhosting.com/cplogin/*
// ==/UserScript==

var refer = document.referrer.toString();

if(refer.startsWith("https://secure1.inmotionhosting.com/")){
  $('.notice .warn').each(function(){
    alert('CP Jump Error:\n' + $(this).text());
  });
}