Byepass Timer in a Site

I am pursuing a course which contains slides to move on to next slide only after the timer value goes to zero and they have configured a end time variable only after that timer we can move on to the next slide. Kindly help to resolve the issue to change the timer which is being created automatically in the code,.

<script>
	function viewnext()
		{
				 var kk =document.getElementById('timer').value;


			var end_time ="2023-07-16 12:22:36";



			$.ajax({
						type: "POST",
						url: "server_side_timer_ajax.php",
						data:'end_time='+end_time,
						success: function(msg){

							if(msg==1)
								{
									alert("Please wait upto specified time limit");

								}


									else
				{





			if(12 < 17-1)
				{

		window.location="downloadable_student.php?id=8080&kd=MTM=";
				}


			else{

								alert("Thanks, you have completed course successfully. Kindly submit your valuable feedback for further enrichments");

															window.open("feedback_student.php?id=8080",'_self');




				}

				}


						},

					});






		}



		function viewprev()
		{
			if(12 >0)
				{
			window.location="downloadable_student.php?id=8080&kd=MTE=";

				}
			else
				{
					alert("No Previous record available..");
				}

		}
	</script>

S’not an issue. The timer is working as intended.

I suspect you’re not showing us all of the code, because the function you show generates a variable kk, and then never uses it.

At a guess, if you truly feel like the right idea is to bypass the obvious and clear measures that the site is using to ensure you dont do this, you could try manually changing the end_time value.

after changing the values of end_time also it say same error. is it possobile to change the server timer using any code

I wouldnt be able to even guess without seeing the server’s code.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.