what is the ajax url to get new table content? [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 7 years ago.
Improve this question
I'm trying to do a home project that consists in a desktop application with some info and stats from a website.
This is the link of the information: http://www.fpb.pt/fpb2014/!site.go?s=1&show=jui&id=5144
I want to have the first table content (ĂšLTIMOS JOGOS REALIZADOS) in my application, my problem is getting the content that only appears when you press the next arrow.
My ideia was to find the ajax url to get the next content, but I dont manage to find how its done... The only ajax url that I found was this:
http://www.fpb.pt/fpb2014/do?com=DS;1;317.101000;++ID(5144)+BL(ULTIMOS_JOGOS);+MYBASEDIV(dJuiz_Ficha_Home_Jogos);+RCNT(2444445)+RINI(44443)&
But it only gets me the initial table content, can anyone tell me how I get the next table content?

http://www.fpb.pt/fpb2014/do?com=DS;1;317.101010;++CO(JOGOS_REALIZADOS)+BL(JOGOS)+K_ID_JUIZ(5144)+MYBASEDIV(JuizJogos_JOGOS_REALIZADOS);+RCNT(10)+RINI(11)&
http://www.fpb.pt/fpb2014/do?com=DS;1;317.101010;++CO(JOGOS_REALIZADOS)+BL(JOGOS)+K_ID_JUIZ(5144)+MYBASEDIV(JuizJogos_JOGOS_REALIZADOS);+RCNT(10)+RINI(21)&
+RINI(XY) is the part that varies, where X is the page number
Update (How to do it for yourself)
Open chrome dev tools (F12)
Click on the network tab
Click on the link you're interested in
Look at the requests in the network tab.
Compare then in Notepad or what ever editor you want
Link here

Related

Popup HTML to last viewed page [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 2 years ago.
Improve this question
I am making an Chrome extension. I'm not an coding expert, but I understand the basics of html, css, and how to make an chrome extension.
I have an popup html, and I want to reference to other html pages, but every link will open in a new tab. I searched all over the internet, but I couldn't figure out how. When the popup is open on another page, and it closes, I want it to open on the same page. Is there an way, and how?
Thanks in advance.
Since I don't have a detailed context from your question, I'm gonna suggest you use <iframe> tag offered by HTML in order to load the desired page inside the popup
here's some useful reference
https://www.w3schools.com/tags/tag_iframe.ASP

Calculate index of character in google doc, on 100th page, Same as how SAVE API call does [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 2 years ago.
Improve this question
I have really struggled a lot on this problem. I want to find the character index in google docs which have 150 pages.
What I want:
exact character index of on the page text click,
Reference: What i saw Save API, gets that information somehow, you can check by following the below steps.
go to page 100th in a google document by scrolling.
open debugger and check SAVE API call after editing in the document.
Check the request body "ibi" property will give you the exact index.
I want to get that index on page text click.
Currently, It is not possible for apps script to capture client side DOM events. Also, there is nothing in the official documentation about capturing selection from document. Though selection capture is possible both in Sheets and Slides.

How to do a facebook photo preview style using React + React-router [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 years ago.
Improve this question
I wan't to do something similar to what Facebook does when showing photos on your news feed, example:
If I'm on my news feed, if i click on a photo, it opens a modal, and changes the URL, but the back-content remains the same in case I want to close that modal.
In case I send this URL to someone else, it shows a different page for the photo, without the news on the background.
Basically, when I click on the link button, I wan't to show my data on top of what the user is seeing (and change the URL), in case he refreshes the screen, I want to show it in a different way, like a special page for that data.
Any ideas on how to do this using react + react-router?
Thanks!
You may want to checkout the Pinterest example in the react router repo. It basically does exactly what you're asking for. Two different views depending on the router state/how the user got to the page.
You can pull the react-router repo and follow these instructions if you want to see the example locally. I couldn't find the examples hosted anywhere online.

Having issue with text display on html [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Hi I have been building my website of a template site I got and have been adding some code to it, that all works fine although one piece, of the html code is failing me which is a text pop-out / rollover effect, It displays fine when I open the index.html file on my browser
see the YouTube circle although when I upload it to my web server (I did clear my cache) I get this and then other funky stuff i.e. the text goes very tiny
I have tried everything I can think of such as re-uploading everything to my server, just the html files and I have even checked my code it is all the same yet it makes things go strange.
Any help is much thanked for,
~Dave~
Have you tried Ctrl+F5 to remove the navigator cache?
It shows properly on my navigator.

Any one Place Our Chat Widget in their website from<iframe> script , I want this widget down when our website is not responding or down [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
We make Chat Widget from iframe /iframe tags
Any one Place Our " Chat Widget " in their website from script but the problem is when our main website is down it gives error in client website where widget is placed
I want this "Chat widget" down when our website is not responding or down
How can I detect this from iframe events that my main website is down or not ?
Thanks
As far as I understand your question, you are giving an iframe code for your users to copy-paste in their websites. And when your site goes down, the iframe starts showing an error message.
What you want is to change the way your iframe is inserted on your clients' websites. Instead of giving the iframe code, you should give them a script that checks your site for availability (by AJAX request or some other way), and then generates an iframe if the site is up.

Categories