Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*______________________________________________________________________________
- ********************************************************************************
- WriterScriptIs : Salim Fadhil *
- VersionScript : 1.1v *
- DateWroteScript : 13-08-2019 *
- DateUpdateScript: 10-02-2020 *
- URL : https://forum.tribalwars.ae/index.php?members/abu-rajih.40926/*
- _______________________________________________________________________________*
- ********************************************************************************
- ######## ## ######### $$ $$ ## *
- ## ## ## ## ## ###### $$ $$ ## *
- ## ## ## ## ## # ## *
- ########## ## #### ## ## ## ## ######## ## ## ####### *
- ## ## ### ## ## ## ######## ## ## ## ## ## ## *
- ## ## ## ## ## ## ## ## ## ## ## ## ## ## *
- ## ## ## ## ## ## $$ ## ## ## ## ## ## ## ## *
- ## ## ###### ##### $$ ## ## ###### # ## ## ## ## *
- ## *
- ## ## *
- #### *
- _______________________________________________________________________________*
- *******************************************************************************/
- javascript:
- (function($) {
- if(window.game_data.screen != 'ranking'){
- window.UI.InfoMessage('السكربت يعمل من صفحة ترتيب اللاعبين, سيتم نقلك الى مكان عمل السكربت ...', 3000 ,'success');
- window.location.href = '/game.php?village='+window.game_data.village.id+'&screen=ranking';
- return false;
- }
- else{
- window.Developer = ["Salim Fadhil" , 'AbuRajih' ,'salim.rageh45@outlook.com' , '+96899745412' , '1.1' , 'https://forum.tribalwars.ae/index.php?members/abu-rajih.40926'];
- $('#player_ranking_table').before(`
- <center>
- <table align="center" id='CopyRight'>
- <thead>
- <tr>
- <th style='width:50px;text-align:center;'>المبرمج</th>
- <th style='font-size:16px; font-weight:bold;'>:</th>
- <th style='width:90px;text-align:center;'><a href=`+window.Developer[5]+` title=`+window.Developer[1]+` target='_blank'>`+window.Developer[0]+`</a></th>
- </tr>
- <tr>
- <th style='width:50px;text-align:center;'>E-Mail</th>
- <th style='font-size:16px; font-weight:bold;'>:</th>
- <th style='width:90px;text-align:center;'><a href='mailto:`+window.Developer[2]+`&subject=استفسار بخصوص السكربت' >`+window.Developer[2]+`</a></th>
- </tr>
- <tr>
- <th style='width:50px;text-align:center;'>WhatsApp</th>
- <th style='font-size:16px; font-weight:bold;'>:</th>
- <th style='width:90px;text-align:center;'><a href='https://api.whatsapp.com/send?phone=`+window.Developer[3]+`' target='_blank' >`+window.Developer[3]+`</a></th>
- </tr>
- </thead>
- </table>
- </center>
- <style>
- #CopyRight,#CopyRight th{border:1px solid black !important;background:#eee;}
- #CopyRight th , #CopyRight th a{background: #eddab0 !important;font-family: 'times new roman', sans-serif;font-size:15px;}
- </style>
- `);
- $(function () {
- $('#player_ranking_table tbody tr').each(
- function (){
- $(this).find('td:eq(0)').after('<td></td>');
- });
- });
- $(function () {
- $('#player_ranking_table th:eq(0)').after('<th>طلب صداقة</th>');
- $('#player_ranking_table tbody tr').each(function () {
- var url = $(this).find('td:eq(2)').find('a').attr('href');
- var Rajih = $(this).find('td:eq(1)');
- $.ajax({
- url: url,
- datatype: 'xml',
- success: function (data) {
- window.index = 0;
- window.Salim = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- if(!window.Salim.match(/&action=add_friend&/g)){
- window.index++;
- console.log('AbuRajih Script to send friend Requests =)' + window.index);
- window.Salim1 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa1 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- }
- else{
- $(Rajih).append(window.setAa);
- }
- if(!window.Salim1.match(/&action=add_friend&/g)){
- window.index++;
- console.log('AbuRajih Script to send friend Requests =)' + window.index);
- window.Salim2 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa2 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- }
- else{
- $(Rajih).append(window.setAa1);
- }
- if(!window.Salim2.match(/&action=add_friend&/g)){
- window.index++;
- console.log('AbuRajih Script to send friend Requests =)' + window.index);
- window.Salim3 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa3 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- }
- else{
- $(Rajih).append(window.setAa2);
- }
- if(!window.Salim3.match(/&action=add_friend&/g)){
- window.index++;
- console.log('AbuRajih Script to send friend Requests =)' + window.index);
- window.Salim4 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa4 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- }
- else{
- $(Rajih).append(window.setAa3);
- }
- if(!window.Salim4.match(/&action=add_friend&/g)){
- window.index++;
- console.log('AbuRajih Script to send friend Requests =)' + window.index);
- window.Salim5 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa5 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- }
- else{
- $(Rajih).append(window.setAa4);
- }
- if(!window.Salim5.match(/&action=add_friend&/g)){
- window.index++;
- console.log('AbuRajih Script to send friend Requests =)' + window.index);
- window.Salim6 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).find('a').attr('href');
- window.setAa6 = $(data).find('#content_value > table > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td').eq(window.index).html();
- }
- else{
- $(Rajih).append(window.setAa5);
- }
- }
- });
- });
- });
- }
- })(window.jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement