=============================== location موقع replace استبدال http://www.javascriptkit.com/script/script2/blockip.shtml Description: Use this script to block certain IPs from your webpage, by redirecting them to another site. Note that your web server must have SSI enabled (most Linux servers do), with the page using the correct extension (ie: .shtml) in order for this script to work. Furthermore, since this script relies on JavaScript to block the user (by redirecting the person to another site), if he/she disables JavaScript in the browser, the script will become futile. Example: N/A Directions: Just insert the below script to the HEAD section of your page, and enter your list of IPs to block: وصف: استخدام هذا البرنامج النصي لمنع عناوين IP معينة من صفحة الويب الخاصة بك، من خلال إعادة توجيهها إلى موقع آخر. لاحظ أنه يجب أن يكون خادم الويب الخاص بك تمكين مباحث أمن الدولة (معظم خوادم لينكس القيام به)، مع الصفحة باستخدام الملحق الصحيح (أي: شتمل) من أجل هذا البرنامج النصي للعمل. علاوة على ذلك، لأن هذا السيناريو يعتمد على جافا سكريبت لمنع المستخدم (عن طريق إعادة توجيه الشخص إلى موقع آخر)، وإذا كان هو / هي تعطيل جافا سكريبت في المتصفح، سيقوم البرنامج النصي تصبح عديمة الجدوى. مثال: N / A اتجاهات: مجرد إدراج البرنامج النصي أدناه إلى قسم رأس الصفحة الخاصة بك، ثم أدخل قائمة من البرامج المتكاملة لكتلة: