Extract attributes being used from plotly javascript

How to extract the attributes being used in a plotly JavaScript plot?

For example, I draw a scatter plot at here. How to extract the full attribute information of data and layout being used?

answer found.