NativeScript

LoremLoremLorem.

01.03.2019 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         NativeScript
// @author       Lp
// @version      0.0.4
// @description  LoremLoremLorem.
// @license      MIT License.
// @namespace https://greasyfork.org/users/164367
// ==/UserScript==
//***********************************

/**
 * Getnative jQuery Auto Add Translation
 * @param {number} addInterval Add Translation button click interval in seconds
 * @param {number} nextInterval Next button click interval in seconds
 * @param {number} newTranslateInterval Machine Translation button click interval in seconds
 */

var addInterval = prompt('Masukkan jeda interva *1l')
var newTranslateInterval = prompt('Masukkan jeda translate baru *2')

let no = parseInt(($($('.project-source-text')[0]).attr('id')).replace('ember', ''));
// get numberId in source text
// change ember1802 => 1802
function auto(addInterval, newTranslateInterval) {
    setTimeout(function() {
         $('#ember' + no).click();
         //click ember id
         no++
         //loop
         auto(addInterval, newTranslateInterval);
    }, newTranslateInterval * 1000);  
     
    $('.translate-mode-icon').click();
     // click translate 

    setTimeout(function() {
        $('.right button').click();
    }, addInterval * 1000);    

};
//save, next, 
//auto(1, 2);
//auto(1.5, 2.5);

/*  fitur
*   save translate > 80%    getAttribute
*   stop code   debuger
*/