javascript - Changing shown URL with a firefox addon -
how can change displayed url firefox addon without changing page location? reason can load local html file not show actual local path in url bar.
example user experience: user clicks on button in firefox, opens local html file. instead of showing path, shows "local html file" in address bar. title , content of page specified html file.
edit: want build addon , not find addon me this.
when file bundled addon, has "chrome url" (nothing google chrome) have control over. otherwise change url bar directly: document.getelementbyid('urlbar').value = '...'
Comments
Post a Comment