Yes, it is possible to pass values by url.
Let me give you an example with javascript.
In index.html, I create a function that takes a parameter, which is the value I want to pass to another page.
When running it redirects to the page that will receive the variable, passing the value by url.
var passaValor= function(valor)
{
    window.location = "recebe_variavel.html?minhaVariavel="+valor;
}
var valorQueEuQueroPassar = 123;
 passaValor(valorQueEuQueroPassar);
 
 
On your receiving page_variable.html, I use a function that reads the url in search of its variable in the url.
// função pra ler querystring
function queryString(parameter) {  
              var loc = location.search.substring(1, location.search.length);   
              var param_value = false;   
              var params = loc.split("&");   
              for (i=0; i<params.length;i++) {   
                  param_name = params[i].substring(0,params[i].indexOf('='));   
                  if (param_name == parameter) {                                          
                      param_value = params[i].substring(params[i].indexOf('=')+1)   
                  }   
              }   
              if (param_value) {   
                  return param_value;   
              }   
              else {   
                  return undefined;   
              }   
        }
var variavel = queryString("minhaVariavel");
 
 
							
							
						 
Localstorage, cookies, indexedDB, Websql and GET parameters are the forms I know. From one searched in each, we always have something to learn =) (recommend the localstorage, simple and ie8+)
– Oeslei
Related http://answall.com/questions/58958/passar-variável-php-para-javascript
– Wallace Maxters