b6f87648466d — Josiah Ulfers 1.3 4 years ago
Savior no longer runs outside extension
1 files changed, 0 insertions(+), 13 deletions(-)

M _static/test.html
M _static/test.html +0 -13
@@ 1,17 1,6 @@ 
 <!DOCTYPE html>
 <html>
 <head><meta charset="utf-8">
-<script>
-'use strict'
-// For dev, it's easier to embed the core script directly instead of reloading each change
-if (window.location.hash === '#demo') {
-  window.settings = {whitelist: []} // normally defined by shared.js
-  document.write('<script src="addon/savior.js"><\/script>')
-};
-window.onhashchange = function () {
-  window.location.reload()
-}
-</script>
 <script src="test.js"></script>
 <script>
 // Hijack window as soon as possible, to make sure the add-on runs first

          
@@ 27,8 16,6 @@ hijack(window)
 <p>This page demonstrates typical ways that web pages wage war on keyboard usability.</p>
 <p>Designed for Firefox only. Whether it works in other browsers is unknown.</p>
 
-<a href="#demo">Apply the Savior</a>
-
 <h2>General focusable elements</h2>
 
 <p>Focusable elements can be key event targets</p>