public with sharing class QRAndBRController {
    public QRAndBRController(ApexPages.StandardController controller){
        
    }
    public String getParentUrl(){
        return ApexPages.currentPage().getHeaders().get('referer');
    }
}