Commit 05fe5a3e authored by Leon Schmidt's avatar Leon Schmidt
Browse files

Initial commit (can open incognito tabs)

"name": "Auto Incognito",
"version": "0.1",
"description": "Automatically opens specific web pages in an incognito tab!",
"manifest_version": 2,
"browser_action": {
"default_popup": "popup.html"
"permissions": [
\ No newline at end of file
<!DOCTYPE html>
<title>Auto Incognito</title>
<button id="button">Click me!</button>
<pre id="lol"></pre>
<script src="./pupup.js"></script>
\ No newline at end of file
document.getElementById("button").addEventListener("click", () => {
/*chrome.tabs.getSelected(null, (tab) => {
document.getElementById("lol").innerHTML = JSON.stringify(tab, null, 4)
document.getElementById("lol").innerHTML = JSON.stringify(chrome.tabs, null, 4){
url: "",
incognito: true
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment