Devpost
Participate in our public hackathons
Devpost for Teams
Access your company's private hackathons
Grow your developer ecosystem and promote your platform
Drive innovation, collaboration, and retention within your organization
By use case
Blog
Insights into hackathon planning and participation
Customer stories
Inspiration from peers and other industry leaders
Planning guides
Best practices for planning online and in-person hackathons
Webinars & events
Upcoming events and on-demand recordings
Help desk
Common questions and support documentation
Back to all discussions
Kapil sisodiya • 7 months ago
is there any way prompt api can access current tab url
François Beaufort Manager • 7 months ago
In the context of a chrome extension, you can use the chrome.tabs API: https://developer.chrome.com/docs/extensions/reference/api/tabs#get_the_current_tab Or you can simply use window.location: https://developer.mozilla.org/en-US/docs/Web/API/Location
Comments are closed.
1 comment
François Beaufort Manager • 7 months ago
In the context of a chrome extension, you can use the chrome.tabs API: https://developer.chrome.com/docs/extensions/reference/api/tabs#get_the_current_tab
Or you can simply use window.location: https://developer.mozilla.org/en-US/docs/Web/API/Location