Opening URL in the same window/tab from the browser - url

I have created some QRcode bearing cards that can be scanned with a simple smartphone.
The QRcode triggers the call to a simple URL passing the card specific code,
e.g. https://mywebsite.com/scan.php?code=123654789456
At the end of the day a new window/tab is created every time a QRcode is scanned.
Is it possible to force the browser to show the result in same window/tab for every scan?

Related

No audio for 2nd & subsequent calls using Opentok in iOS

We have a video chat single page application developed in AngularJS that connects Callers with Receivers using OpenTok (Tokbox). Receivers must use computers but Callers can use iOS or Android devices. However, when a Caller uses iOS, the first call is fine, but the 2nd and subsequent calls in the same session result in audio being lost for the iPhone user.
The application consists of a Homepage, Profile pages, Dashboards and Call Screens. A Caller initiates a video chat with a Receiver in the following way:
Types in Receiver’s Profile page and logs in
Clicks ‘Call’ from Receiver’sProfile page, lands on Call Screen & gives permission to use camera etc.
Clicks ‘Call’ again and video/audio chat starts
Clicks ‘End call’ and lands on their dashboard page
Then, if the Caller chooses to call Receiver again, the Caller:
Either clicks back button or retypes Receiver’s URL to return to Receiver’s profile page
Clicks ‘Call’ from Receiver’s Profile page, lands on call screen
Clicks ‘Call’ again and video starts - but usually (although not always) cannot hear any audio on the iPhone
After extensive testing, only 3 things happen with 100% consistency:
If, after a chat, the Caller goes to the Homepage and then returns to Profile page, the audio will never work, no matter how many times you try.
If, however, the Caller types in a URL of an entirely different site, and returns to the profile page, the problem is always reset: the Caller will definitely have audio for the next call, after which the whole problem starts again.
Closing and initiating a new window also resets the issue.
Aside from these certainties, there are many other variables that may or may not produce the issue (and how often), including:
What version of iOS the Caller is using
Whether the Caller uses the back button or types in the URL to go from dashboard to profile page after a call
Whether the Caller simply clicks the back button or holds and chooses the Profile page URL
Whether the Caller clicks around in their Dashboard or not before returning to Profile page
Tokbox session logs show that both published streams contain both audio and video, and no errors are reported. The audio is lost within iOS.
We have no problems with computer to computer, or Android to computer: Only iOS.
We have attempted almost everything to solve this issue - from stripping back almost all 3rd party APIs to removing most of the AngularJS code and nothing solves this mysterious (and very annoying) problem.
Versions: Angular 1.5, Opentok: 2.16.2
Please let me know if anybody came across anything like this.

Manipulate PDF iOS (add signature)

I'm trying to find the best solution for my problem. User is using safari on an iPad, and at one point the customer contract is created using a webservice, which sends me the URL to a PDF file.
Right now the user opens the PDF, prints it and scans it after the customer signs the contract. What they want is to capture the signature digitally, so the contract doesn't need to be scanned later.
My question is: what is the best way to embed the signature to an existing pdf file?
I wanted something similar to what the iOS mail app does natively
http://heresthethingblog.com/2015/10/28/ios-9-tip-sign-pdf-mail-pdf-tricks/
Thanks

How to get URL from a QR code via ZBar SDK and and show the user

A simple App is being made that scans a QR code and then shows the user what the QR code is that they have scanned.
ZBAR SDK is being used.
The PROBLEM:-
Once the App has been scanned, it takes the user to the website straight away. I need it to store the QR code in the App then take the user to another page in the app showing them the web address they have scanned. The user then has the opportunity to go to that site using a button now setup to use that link.
So how can I stop the ZBAR SDK from sending the user to the website straight away and get it to store the link so I can use it?
Can it be done?

Is there any documentation on how many times an iOS Smart App Banner Surfaces? Does it render with every single webpage open?

my site has a Smart app banner deployed, but i am not certain if it shows up every single time a visitor goes to the page. does it always render? if not, how often? what are the particulars here?

MagTek Card reader not working when processed in TChromium web browser

I am working with a 3rd party web service to process credit card payments.
When I swipe a credit card via google chrome the payment is detected and processed.
However when I attempt to swipe a credit card via the built in Delphi web browser TChromium, nothing happens.
Can't figure out why its not working are their any settings I need to set on the TChromium browser?
Update
I have verified that that the card reader reads and posts the data to whatever field/component is selected.
One difference I have found with Chrome and the TChromium web browser is that when I process a card in the TChromium web browser it automatically tabs to the next html component after processing the card.. Where this does not happen in Chrome it just stays with the current field/component selected.
The Question title is misleading but only because I did not understand what was happening after some investigation I was able to solve the problem. I hope this answer might come in Handy for someone someday though its a pretty isolated problem.
So I found that the MagTek reader reads the credit card data to the field and then Sends a "Enter" button afterwards.
And the Program I am currently working with has an option where when a Enter Key is pushed it will instead send a Tab so that a user can get to the next fields by the enter key.
So the program was intercepting the MagTek reader initiated enter key and replacing it with a tab which interfered with the payment process.

Resources