浴血兄弟

浴血兄弟

浴血兄弟的剧情介绍

Brother's Blood takes place on the mean streets of a city in decay, where a recently released convict begins to take murderous revenge against his childhood friends, whom he believes let him take the fall for a crime they collectively committed. As the bodies start piling up, one of the friends, now a cop, will stop at nothing to put an end to the murderous rampage and to right...动作

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); }); })();