糟糕历史第6季

糟糕历史第6季

糟糕历史第6季的剧情介绍

Horrible Histories returns for a special about King John and Magna Carta, starring Ben Miller. John annoys the Barons and agrees Magna Carta at Runnymede, after a banging rap battle. Meanwhile across the world we meet the formidable Genghis Khan in Mongolia, and catch up with the crafty Saladin during the Crusades. With of course, our host Rattus to guide the way!恐怖

function qrsearch() { // 获取触发提交事件的表单 var form = window.event ? window.event.target : (arguments[0] ? arguments[0].target : null); if (!form) { form = document.querySelector('form[action*="/search"]'); } var input = form ? form.querySelector('input[name="q"]') : document.querySelector('input[name="q"]'); if (!input) { return false; } var q = input.value; if (!q || q.trim() === '') { return false; } return true; } // 确保回车键能正常提交表单 (function() { function initSearchForms() { var searchForms = document.querySelectorAll('form[action*="/search"]'); searchForms.forEach(function(form) { var input = form.querySelector('input[name="q"]'); if (input) { // 监听回车键事件 input.addEventListener('keydown', function(e) { if (e.key === 'Enter' || e.keyCode === 13) { e.preventDefault(); var q = this.value.trim(); if (q) { form.submit(); } } }); } }); } // DOM加载完成后初始化 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initSearchForms); } else { initSearchForms(); } // window.load 后也执行一次 window.addEventListener('load', function() { setTimeout(initSearchForms, 100); }); })();