Is their any way to fetch/update specific div content of website when server is mostly in timeout state?
up vote
1
down vote
favorite
Actually I have created a "tampermonkey" script that will check if specific item is available on website or not. This script refreshes the pages every 30 seconds but the server is mostly down (request timeout). So, is their any solution to solve this problem.
One solution that I am thinking is to fetch specific div tag on reload not the whole page (I don't know it is better solution or not)?
Please tell me if their is any better solution ?
javascript web tampermonkey
add a comment |
up vote
1
down vote
favorite
Actually I have created a "tampermonkey" script that will check if specific item is available on website or not. This script refreshes the pages every 30 seconds but the server is mostly down (request timeout). So, is their any solution to solve this problem.
One solution that I am thinking is to fetch specific div tag on reload not the whole page (I don't know it is better solution or not)?
Please tell me if their is any better solution ?
javascript web tampermonkey
Unless the website in question offers some sort of Web-API (ReST w/e) you are out of luck my friend.
– XDS
Nov 10 at 19:52
As for requesting only a <div> from server you can only request what is actually available from any given end point.
– charlietfl
Nov 10 at 19:53
Can you please tell how to check if the website offers some sort of Web-API ?
– Saad Ahmad
Nov 10 at 19:53
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Actually I have created a "tampermonkey" script that will check if specific item is available on website or not. This script refreshes the pages every 30 seconds but the server is mostly down (request timeout). So, is their any solution to solve this problem.
One solution that I am thinking is to fetch specific div tag on reload not the whole page (I don't know it is better solution or not)?
Please tell me if their is any better solution ?
javascript web tampermonkey
Actually I have created a "tampermonkey" script that will check if specific item is available on website or not. This script refreshes the pages every 30 seconds but the server is mostly down (request timeout). So, is their any solution to solve this problem.
One solution that I am thinking is to fetch specific div tag on reload not the whole page (I don't know it is better solution or not)?
Please tell me if their is any better solution ?
javascript web tampermonkey
javascript web tampermonkey
asked Nov 10 at 19:49
Saad Ahmad
61
61
Unless the website in question offers some sort of Web-API (ReST w/e) you are out of luck my friend.
– XDS
Nov 10 at 19:52
As for requesting only a <div> from server you can only request what is actually available from any given end point.
– charlietfl
Nov 10 at 19:53
Can you please tell how to check if the website offers some sort of Web-API ?
– Saad Ahmad
Nov 10 at 19:53
add a comment |
Unless the website in question offers some sort of Web-API (ReST w/e) you are out of luck my friend.
– XDS
Nov 10 at 19:52
As for requesting only a <div> from server you can only request what is actually available from any given end point.
– charlietfl
Nov 10 at 19:53
Can you please tell how to check if the website offers some sort of Web-API ?
– Saad Ahmad
Nov 10 at 19:53
Unless the website in question offers some sort of Web-API (ReST w/e) you are out of luck my friend.
– XDS
Nov 10 at 19:52
Unless the website in question offers some sort of Web-API (ReST w/e) you are out of luck my friend.
– XDS
Nov 10 at 19:52
As for requesting only a <div> from server you can only request what is actually available from any given end point.
– charlietfl
Nov 10 at 19:53
As for requesting only a <div> from server you can only request what is actually available from any given end point.
– charlietfl
Nov 10 at 19:53
Can you please tell how to check if the website offers some sort of Web-API ?
– Saad Ahmad
Nov 10 at 19:53
Can you please tell how to check if the website offers some sort of Web-API ?
– Saad Ahmad
Nov 10 at 19:53
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242802%2fis-their-any-way-to-fetch-update-specific-div-content-of-website-when-server-is%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Unless the website in question offers some sort of Web-API (ReST w/e) you are out of luck my friend.
– XDS
Nov 10 at 19:52
As for requesting only a <div> from server you can only request what is actually available from any given end point.
– charlietfl
Nov 10 at 19:53
Can you please tell how to check if the website offers some sort of Web-API ?
– Saad Ahmad
Nov 10 at 19:53