Skip to content

Instantly share code, notes, and snippets.

@akinov
Last active February 28, 2020 01:31
Show Gist options
  • Save akinov/b36501e765d734b5b535571dcd672705 to your computer and use it in GitHub Desktop.
Save akinov/b36501e765d734b5b535571dcd672705 to your computer and use it in GitHub Desktop.
マネフォクラウド勤怠リモート日入力
$$('.attendance-table-row-').forEach((e)=>{
if (!/平日/.test(e.textContent)) return false;
$('.attendance-table-icon-edit',e).click();
var day = $('.column-day', e);
if (window.confirm(day.textContent + 'はリモート?')) {
$('.attendance-text-area').value = 'リモート';
$('.attendance-button-primary.attendance-button-size-wide').click();
} else {
$('.attendance-table-button-contents a.attendance-button-normally').click();
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment