Monitor webpage changes [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 11 months ago.
Improve this question
Suppose there is a website on internet which shows Indian share market price. And price of share is changing every second.
This site provides no api support
How can i continuously track this price and update to user when price goes above a specified limit.
I am beginner please help me how to start and where to start
All the process should be on server not from my phone/pc
I am beginner please help me how to start.

Maybe you can setup a web scrapper that fetches the page on a periodical basis with the help of a background job, you may begin with PHP and Cron.

Related

How can we mitigate shopping-cart checkout spamming? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 days ago.
Improve this question
We have an e-commerce site that allows you to check out as a guest.
An individual has been using it to check if stolen credit card numbers function.
We plan to add invisible captcha, which helps for people using scripts/headless browsing/automation, but it doesn't stop someone from manually using it this way.
We could track a cookie that starts to prevent/timeout the user from checking out if there are enough recent requests, but that's easily workaround-able.
It seems like a situation where it can't be limited too much further because normal users need to be able to check out, but are there any other specific methods that would help?

Real time website information/content updating [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Since a year and a half I am trying to figure out how some websites update their content in real time without AJAX method.
Please see this example website: https://pro.btcturk.com/en/basic/exchange/BTC_TRY
That website is changing many texts within content in different timing.
It means that when the server is updated with new values in the database then the website is listening to database changes and then reflecting/delivering inside content without ajax calls.
Can someone give an example how to achieve such functionality possibly using Javascript or PHP normal hand-code appreciated?
Thank you
You can see the process here:
More information here: Websockets

Auto update chat system [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am trying to auto update my chat system whenever a user
Types a message but there are no good tutorials on YouTube i can update when a user starts typing but i want it to be live ive tried:
Infinite loops (page crashed) and
When a user Types update (i want it live)
And my page crashed.
I have access to jquery ajax and built in JavaScript ajax.
Thank you.
You can try to work with long polling or comet or web socket features for auto-updating your chat system, while you want to check the user, starts typing or no.

How to check pages' visits in a website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I 've created a website for a real estate agency, so there is a page for each property in this site. Finally, I would like to check how many visits every property gets, collect and display these stats somehow. Can this be done with Google Analytics or any other already developed solution or I have to do it increasing a visit counter for each page and storing it in my database(which might increase page load time)? I am using Symfony 2 if this can be a useful information anyhow.
Yes. Google Analytics can be used to store the number of visitors and all the data analytics like page views and the regions in which the page is being viewed and many more.

How to implement a count-down Timer on a Web Site [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to get an website element that is always changing, such as a countdown timer that resets when someone clicks on a button. Anyone know how I can implement a constantly changing element in my C# program?
You can implement periodic updates using client-site Javascript functions, either setInterval() or setTimeout(), with syntax like following:
// start digital clock
function StartTopClock() { _pID = window.setInterval('UpdateTopClock()', 100);}
which provides periodic updates every 100 ms.
Detailed description is available at: http://digiclock.codeplex.com/, working demo at: http://webinfocentral.com/
Hope this will help. Best regards,

Categories