# Get Current URL from Firefox

**URL:** <https://forum.kirupa.com/t/get-current-url-from-firefox/245148>\
**Category:** programming\
**Created:** [November 26, 2007, 11:09pm UTC](https://forum.kirupa.com/t/get-current-url-from-firefox/245148 "2007-11-26T23:09:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_b](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Post date:** [November 26, 2007, 11:09pm UTC](https://forum.kirupa.com/t/get-current-url-from-firefox/245148/1 "2007-11-26T23:09:51Z")

</div>

Im not sure if this is the right forum, but here goes.

As part of my design job, I have to audit (nearly) complete websites, and flag pages that have issues for the developers. This involves alot of unnecessary copy/pasting of urls, as you can imagine.

I want to develop some kind of bookmark, where I press a link and it gets the current URL from firefox and then sends the link to a php script, which will then intern alert the developers. I figure the best way to do this is to write the script, and link from a bookmark in this format:

[www.server.com/error.php?flag=[current\_url]](http://www.server.com/error.php?flag=%5Bcurrent_url%5D)

This way allows me to make many different links for different problems, rather than typing endless emails. I can write the PHP to do this, but I have no idea how to pass the URL from firefox. Does anyone have a simple solution?
