· 8 years ago · Dec 15, 2017, 10:56 AM
1GoogleChromePortable.exe "chrome://settings/"
2
3{
4 "name": "Open Chrome URLs",
5 "version": "1.0",
6 "manifest_version": 2
7}
8
9<html>
10<head>
11<title>Open Chrome URLs</title>
12<script type="text/javascript" src="open.js"></script>
13</head>
14<body>
15</body>
16</html>
17
18window.addEventListener("load", function(){
19 var key = "secretKey"; // replace "secretKey" with your own secret key
20 if(window.location.search == "?key=" + key && window.location.hash.length > 1){
21 chrome.tabs.update({
22 'url': "chrome://" + window.location.hash.substr(1) + "/"
23 });
24 }else{
25 document.body.appendChild(document.createTextNode("Invalid"));
26 }
27});
28
29chrome-extension://nihlceAnywayPutTheExtensionIdHere/open.html?key=secretKey#settings
30
31WinActivate Chrome
32send ^t
33sleep 100
34sendraw chrome://settings/ ; any URL works
35sleep 100
36send {enter}