/builder/boilerplate/history.html
HTML | 20 lines | 17 code | 3 blank | 0 comment | 0 complexity | ddeeb98c04f279c4a874fa8a3aeb2583 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
1<html> 2<head> 3<script> 4function hst() { 5 var search = location.search; 6 var historyToken = ''; 7 if (location.search.length > 0) 8 historyToken = decodeURIComponent(location.search.substring(1)); 9 10 document.getElementById('__historyToken').value = historyToken; 11 if (parent.__onHistoryChanged) 12 parent.__onHistoryChanged(historyToken); 13} 14</script></head> 15<body onload='hst()'> 16 17<input type='text' id='__historyToken'> 18 19</body> 20</html>