function all_stop(){
var obj = {};
$('[onClick="all_stop()"]').prop("disabled",true).css('opacity', '0.6');
$('.add').each(function(){
var prof = $(this).attr('class').replace('add ','');
obj[prof] = {};
});
for(var prof in obj){
var temp_obj = {};
temp_obj[prof] = obj[prof];
pywebview.api.event_browser(temp_obj, 'stop').then(function(response){
result_txt(response);
});
}
$('[onClick="all_stop()"]').prop("disabled",false).css('opacity', '1').hide();
$('[onClick="all_start()"]').show();
}
pywebview.api.event_browser(temp_obj, 'stop').then(function(response){
result_txt(response);
});