/** * Observe how the user enters content into the comment form in order to determine whether it's a bot or not. * * Note that no actual input is being saved here, only counts and timings between events. */ ( function() { // Passive event listeners are guaranteed to never call e.preventDefault(), // but they're not supported in all browsers. Use this feature detection // to determine whether they're available for use. var supportsPassive = false; try { var opts = Object.defineProperty( {}, 'passive', { get : function() { supportsPassive = true; } } ); window.addEventListener( 'testPassive', null, opts ); window.removeEventListener( 'testPassive', null, opts ); } catch ( e ) {} function init() { var input_begin = ''; var keydowns = {}; var lastKeyup = null; var lastKeydown = null; var keypresses = []; var modifierKeys = []; var correctionKeys = []; var lastMouseup = null; var lastMousedown = null; var mouseclicks = []; var mousemoveTimer = null; var lastMousemoveX = null; var lastMousemoveY = null; var mousemoveStart = null; var mousemoves = []; var touchmoveCountTimer = null; var touchmoveCount = 0; var lastTouchEnd = null; var lastTouchStart = null; var touchEvents = []; var scrollCountTimer = null; var scrollCount = 0; var correctionKeyCodes = [ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ]; var modifierKeyCodes = [ 'Shift', 'CapsLock' ]; var forms = document.querySelectorAll( 'form[method=post]' ); for ( var i = 0; i < forms.length; i++ ) { var form = forms[i]; var formAction = form.getAttribute( 'action' ); // Ignore forms that POST directly to other domains; these could be things like payment forms. if ( formAction ) { // Check that the form is posting to an external URL, not a path. if ( formAction.indexOf( 'http://' ) == 0 || formAction.indexOf( 'https://' ) == 0 ) { if ( formAction.indexOf( 'http://' + window.location.hostname + '/' ) != 0 && formAction.indexOf( 'https://' + window.location.hostname + '/' ) != 0 ) { continue; } } } form.addEventListener( 'submit', function () { var ak_bkp = prepare_timestamp_array_for_request( keypresses ); var ak_bmc = prepare_timestamp_array_for_request( mouseclicks ); var ak_bte = prepare_timestamp_array_for_request( touchEvents ); var ak_bmm = prepare_timestamp_array_for_request( mousemoves ); var input_fields = { // When did the user begin entering any input? 'bib': input_begin, // When was the form submitted? 'bfs': Date.now(), // How many keypresses did they make? 'bkpc': keypresses.length, // How quickly did they press a sample of keys, and how long between them? 'bkp': ak_bkp, // How quickly did they click the mouse, and how long between clicks? 'bmc': ak_bmc, // How many mouseclicks did they make? 'bmcc': mouseclicks.length, // When did they press modifier keys (like Shift or Capslock)? 'bmk': modifierKeys.join( ';' ), // When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back 'bck': correctionKeys.join( ';' ), // How many times did they move the mouse? 'bmmc': mousemoves.length, // How many times did they move around using a touchscreen? 'btmc': touchmoveCount, // How many times did they scroll? 'bsc': scrollCount, // How quickly did they perform touch events, and how long between them? 'bte': ak_bte, // How many touch events were there? 'btec' : touchEvents.length, // How quickly did they move the mouse, and how long between moves? 'bmm' : ak_bmm }; var akismet_field_prefix = 'ak_'; if ( this.getElementsByClassName ) { // Check to see if we've used an alternate field name prefix. We store this as an attribute of the container around some of the Akismet fields. var possible_akismet_containers = this.getElementsByClassName( 'akismet-fields-container' ); for ( var containerIndex = 0; containerIndex < possible_akismet_containers.length; containerIndex++ ) { var container = possible_akismet_containers.item( containerIndex ); if ( container.getAttribute( 'data-prefix' ) ) { akismet_field_prefix = container.getAttribute( 'data-prefix' ); break; } } } for ( var field_name in input_fields ) { var field = document.createElement( 'input' ); field.setAttribute( 'type', 'hidden' ); field.setAttribute( 'name', akismet_field_prefix + field_name ); field.setAttribute( 'value', input_fields[ field_name ] ); this.appendChild( field ); } }, supportsPassive ? { passive: true } : false ); form.addEventListener( 'keydown', function ( e ) { // If you hold a key down, some browsers send multiple keydown events in a row. // Ignore any keydown events for a key that hasn't come back up yet. if ( e.key in keydowns ) { return; } var keydownTime = ( new Date() ).getTime(); keydowns[ e.key ] = [ keydownTime ]; if ( ! input_begin ) { input_begin = keydownTime; } // In some situations, we don't want to record an interval since the last keypress -- for example, // on the first keypress, or on a keypress after focus has changed to another element. Normally, // we want to record the time between the last keyup and this keydown. But if they press a // key while already pressing a key, we want to record the time between the two keydowns. var lastKeyEvent = Math.max( lastKeydown, lastKeyup ); if ( lastKeyEvent ) { keydowns[ e.key ].push( keydownTime - lastKeyEvent ); } lastKeydown = keydownTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( 'keyup', function ( e ) { if ( ! ( e.key in keydowns ) ) { // This key was pressed before this script was loaded, or a mouseclick happened during the keypress, or... return; } var keyupTime = ( new Date() ).getTime(); if ( 'TEXTAREA' === e.target.nodeName || 'INPUT' === e.target.nodeName ) { if ( -1 !== modifierKeyCodes.indexOf( e.key ) ) { modifierKeys.push( keypresses.length - 1 ); } else if ( -1 !== correctionKeyCodes.indexOf( e.key ) ) { correctionKeys.push( keypresses.length - 1 ); } else { // ^ Don't record timings for keys like Shift or backspace, since they // typically get held down for longer than regular typing. var keydownTime = keydowns[ e.key ][0]; var keypress = []; // Keypress duration. keypress.push( keyupTime - keydownTime ); // Amount of time between this keypress and the previous keypress. if ( keydowns[ e.key ].length > 1 ) { keypress.push( keydowns[ e.key ][1] ); } keypresses.push( keypress ); } } delete keydowns[ e.key ]; lastKeyup = keyupTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusin", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusout", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); } document.addEventListener( 'mousedown', function ( e ) { lastMousedown = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mouseup', function ( e ) { if ( ! lastMousedown ) { // If the mousedown happened before this script was loaded, but the mouseup happened after... return; } var now = ( new Date() ).getTime(); var mouseclick = []; mouseclick.push( now - lastMousedown ); if ( lastMouseup ) { mouseclick.push( lastMousedown - lastMouseup ); } mouseclicks.push( mouseclick ); lastMouseup = now; // If the mouse has been clicked, don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mousemove', function ( e ) { if ( mousemoveTimer ) { clearTimeout( mousemoveTimer ); mousemoveTimer = null; } else { mousemoveStart = ( new Date() ).getTime(); lastMousemoveX = e.offsetX; lastMousemoveY = e.offsetY; } mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) { var now = ( new Date() ).getTime() - 500; // To account for the timer delay. var mousemove = []; mousemove.push( now - originalMousemoveStart ); mousemove.push( Math.round( Math.sqrt( Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) + Math.pow( theEvent.offsetY - lastMousemoveY, 2 ) ) ) ); if ( mousemove[1] > 0 ) { // If there was no measurable distance, then it wasn't really a move. mousemoves.push( mousemove ); } mousemoveStart = null; mousemoveTimer = null; }, 500, e, mousemoveStart ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchmove', function ( e ) { if ( touchmoveCountTimer ) { clearTimeout( touchmoveCountTimer ); } touchmoveCountTimer = setTimeout( function () { touchmoveCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchstart', function ( e ) { lastTouchStart = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchend', function ( e ) { if ( ! lastTouchStart ) { // If the touchstart happened before this script was loaded, but the touchend happened after... return; } var now = ( new Date() ).getTime(); var touchEvent = []; touchEvent.push( now - lastTouchStart ); if ( lastTouchEnd ) { touchEvent.push( lastTouchStart - lastTouchEnd ); } touchEvents.push( touchEvent ); lastTouchEnd = now; // Don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'scroll', function ( e ) { if ( scrollCountTimer ) { clearTimeout( scrollCountTimer ); } scrollCountTimer = setTimeout( function () { scrollCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); } /** * For the timestamp data that is collected, don't send more than `limit` data points in the request. * Choose a random slice and send those. */ function prepare_timestamp_array_for_request( a, limit ) { if ( ! limit ) { limit = 100; } var rv = ''; if ( a.length > 0 ) { var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) ); for ( var i = 0; i < limit && i < a.length; i++ ) { rv += a[ random_starting_point + i ][0]; if ( a[ random_starting_point + i ].length >= 2 ) { rv += "," + a[ random_starting_point + i ][1]; } rv += ";"; } } return rv; } if ( document.readyState !== 'loading' ) { init(); } else { document.addEventListener( 'DOMContentLoaded', init ); } })();{"id":2539,"date":"2021-10-05T23:52:29","date_gmt":"2021-10-05T16:52:29","guid":{"rendered":"https:\/\/congviennghiatrang.com\/?p=2539"},"modified":"2021-10-06T20:31:24","modified_gmt":"2021-10-06T13:31:24","slug":"xay-phan-mo-cuoi-nam","status":"publish","type":"post","link":"https:\/\/congviennghiatrang.com\/xay-phan-mo-cuoi-nam\/","title":{"rendered":"V\u00ec sao c\u00e1c gia \u0111\u00ecnh th\u01b0\u1eddng x\u00e2y ph\u1ea7n m\u1ed9 cu\u1ed1i n\u0103m?"},"content":{"rendered":"

X\u00e2y ph\u1ea7n m\u1ed9 cu\u1ed1i<\/strong> n\u0103m theo quan ni\u1ec7m c\u1ee7a ng\u01b0\u1eddi Vi\u1ec7t Nam, vi\u1ec7c sang c\u00e1t, c\u1ea3i t\u00e1ng l\u00e0 m\u1ed9t trong nh\u1eefng vi\u1ec7c \u0111\u1ec3 con ch\u00e1u th\u1ec3 hi\u1ec7n s\u1ef1 chu \u0111\u00e1o, hi\u1ebfu k\u00ednh v\u1edbi nh\u1eefng \u0111\u1ea5ng sinh th\u00e0nh \u0111\u00e3 khu\u1ea5t, c\u00e1c b\u1eadc t\u1ed5 ti\u00ean trong nh\u00e0. Ch\u00ednh v\u00ec th\u1ebf v\u00e0o d\u1ecbp cu\u1ed1i n\u0103m, r\u1ea5t nhi\u1ec1u gia \u0111\u00ecnh \u0111\u00e3 ti\u1ebfn h\u00e0nh c\u1ea3i t\u00e1ng cho nh\u1eefng ng\u01b0\u1eddi th\u00e2n \u0111\u00e3 khu\u1ea5t \u0111\u01b0\u1ee3c 3 – 5 n\u0103m. Nh\u01b0ng v\u00ec sao c\u00e1c gia \u0111\u00ecnh th\u01b0\u1eddng x\u00e2y ph\u1ea7n m\u1ed9 cu\u1ed1i n\u0103m<\/strong>?<\/span><\/p>\n

Xem th\u00eam : >> <\/strong>C\u00e1ch xem h\u01b0\u1edbng \u0111\u1eb7t m\u1ed9 theo tu\u1ed5i n\u0103m 2021<\/a><\/p>\n

T\u1ea1i sao ng\u01b0\u1eddi ta th\u01b0\u1eddng ch\u1ecdn c\u1ea3i t\u00e1ng, x\u00e2y ph\u1ea7n m\u1ed9 cu\u1ed1i n\u0103m ?<\/b><\/h2>\n
\"v\u00ec
v\u00ec sao c\u00e1c gia \u0111\u00ecnh th\u01b0\u1eddng x\u00e2y ph\u1ea7n m\u1ed9 cu\u1ed1i n\u0103m?<\/figcaption><\/figure>\n

T\u1ea1i nhi\u1ec1u n\u01a1i, cu\u1ed1i n\u0103m ch\u00ednh l\u00e0 th\u1eddi \u0111i\u1ec3m thu\u1eadn l\u1ee3i nh\u1ea5t \u0111\u1ec3 ng\u01b0\u1eddi ta ti\u1ebfn h\u00e0nh c\u1ea3i nh\u1eefng nh\u1eefng m\u1ed9 \u0111\u00e3 hung t\u00e1ng \u0111\u01b0\u1ee3c 3 – 7 n\u0103m. Th\u1eddi gian c\u1ea3i t\u00e1ng nh\u1ed9n nh\u1ecbp nh\u1ea5t di\u1ec5n ra v\u00e0o kho\u1ea3ng th\u00e1ng 10 \u00e2m tr\u1edf \u0111i. Theo nhi\u1ec1u ng\u01b0\u1eddi nh\u1eadn \u0111\u1ecbnh, s\u1edf d\u0129 nhi\u1ec1u ng\u01b0\u1eddi l\u1ef1a ch\u1ecdn c\u1ea3i t\u00e1ng v\u00e0o kho\u1ea3ng th\u1eddi gian n\u00e0y v\u00e0 ti\u1ebfn h\u00e0nh x\u00e2y lu\u00f4n m\u1ed9 m\u1edbi cho ng\u01b0\u1eddi th\u00e2n b\u1edfi m\u1ed9t s\u1ed1 l\u00fd do d\u01b0\u1edbi \u0111\u00e2y:<\/span><\/p>\n