AboveTustin icon indicating copy to clipboard operation
AboveTustin copied to clipboard

Screenshot based on PlaneFinder page

Open regis57 opened this issue 7 years ago • 3 comments

Hello,

Is it possible to study for evolution the screencapture of the planefinder web interface instead of the dump1090? It is maybe even more friendly as often is picture the aircraft/airline when plane is selected along with airport from and to cities. Or it is easy enough to change myself?

-Regis

regis57 avatar May 13 '17 18:05 regis57

I am still keen to have this capability, to publish screenshot of planefinder selected plane in the twitter feed.

regis57 avatar Nov 05 '17 09:11 regis57

I've had similar requests to get it to work on other dump1090 branches.

The main problem is that I'm not personally running any, and I don't have time to download/test any others.

In order to make the change yourself, you would need to do two things.

  1. Load the page properly. Currently I do that here and here. The first one is where I load the url, and the second you can see I find the reset button and click it, then I find the zoom button and click it four times.

  2. You need to find the specific element that the browser needs to "click" on before the screenshot. You can see I do that here.

Perhaps if you or someone else can find a way to make it work with Planefinder we can put a switch in the config file to allow for either. I would be very happy to accept pull requests for that.

kevinabrandon avatar Nov 05 '17 22:11 kevinabrandon

Until a certain point I am able to relate to the code and the planefinder source page code, going back and forth to the Dump1090 source page code.

I will give myself a try.

(and on another note, I need to learn how to use github to propose my bites)

thank you @kevinabrandon

regis57 avatar Nov 07 '17 14:11 regis57