Diff

Differences From Artifact [6bb2c4f501]:

To Artifact [3273b79cbc]:


658
659
660
661
662
663
664
665
666

667
668
669
670
671
672
673
674
675
676
658
659
660
661
662
663
664


665



666
667
668
669
670
671
672







-
-
+
-
-
-








		return;
	}

	/* Verify that we can register callbacks */
	if (!chrome.certificateProvider) {
		if (!GoogleSmartCard.IS_DEBUG_BUILD) {
			console.error("[cackey] This extension only works on ChromeOS!");

			console.info("[cackey] This extension's primary functionality only works on ChromeOS!  You won't be able to do much with it.");
			return;
		} else {
			console.log("[cackey] This extension only works on ChromeOS, but you appear to be debugging it -- trying anyway.");
		}
	}

	elementEmbed = document.createElement('embed');
	elementEmbed.type = "application/x-pnacl";
	elementEmbed.width = 0;
	elementEmbed.height = 0;