Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-04-2012, 04:26 AM #1
- Join Date
- Feb 2009
- Thanked 0 Times in 0 Posts
JSON and passing a URL value as a parameter - Chrome Extensions
Ok, this is my final tango with this. Below I've listed the code. I'm able to get the value of the url and display it on screen for the current (active tab) in Google Chrome. Now all I have to do is pass that value as a parameter in the URL via JSON. My processing file resides on a our remote server - in php. Everything I've done with respect to this has worked to perfection. However, any attempts to pass the current url or any url as one of the parameters - e.g. ?format=json&url=http://something.com&callback=? - results in nothing. I'm not sure if what I'm doing is wrong or if it is even possible. The important thing to note is that all we are looking to do is pass the url to a remote server for storage, processing etc and send back results. I have everything working but I just can't seem to get the url to pass as a parameter.
Any feedback will be greatly appreciated.*