[转载]ChatGPT逆向了个前端项目,把Twitter的VirtualScroller给完整的反编译出来了 - 猫猫得天空♂

/ 0评 / 0

[转载]ChatGPT逆向了个前端项目,把Twitter的VirtualScroller给完整的反编译出来了

最近拿ChatGPT逆向了个前端项目,把Twitter的VirtualScroller给完整的反编译出来了。

先拿到混淆后的代码,然后发给ChatGPT让它重写。如果生成结果太长,无法返回完整代码,可以让它单独返回某个函数。

当然这样拿到的结果是不能直接运行的,还是需要手动调试和优化的。

最终结果参见:https://twitter-virtual-scroller.vercel.app/

Github:https://github.com/jimliu/twitter-virtual-scroller

Twitter VirtualScroller

This project is a demo of the VirtualScroller component on Twitter, which allows for efficient rendering of large data sets in web applications. For more information on the VirtualScroller component, please refer to the article "Twitter Lite and High Performance React Progressive Web Apps at Scale".

The VirtualScroller source code used in this project was obtained through reverse engineering the JavaScript code on twitter.com. With the help of ChatGPT, the obfuscated JavaScript code was deobfuscated and made readable. The result was manually debugged and optimized.

Disclaimer: This project is for learning purposes only, and the code should not be used for commercial purposes. Please do not use this code for any commercial or business-related purposes.

Demo

223192907-65686ee6-d266-4eb0-9539-090ce7552906

223192923-187eec71-183d-4550-a59a-8f164f4b953a

223193081-ffddf142-61b4-4a82-8433-88a00c635ef3

 

223193122-1b098657-7249-4b7c-a5de-ba3d0d129956

 

返回首页

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注