Prevent a closed window from being added into session? - google-chrome-extension

I'm trying open extension://<my extension>/popup.html in a popup window by using chrome.windows.create()
The problem I'm trying to fix is when that window is closed, it's being added into recently closed list (chrome.sessions.getRecentlyClosed)
I've tried open it in incognito window, but browser doesn't allow extension:// urls there.
Is there a way prevent it from being added into sessions, or even better be able delete item from sessions?

Related

Is there a way to hide a Chrome browser tab via an extension?

We have a software which uses a browser tab to hold the connection between client and server.
Users accidentally close the tab and have connection issues.
I want to program a Chrome extension which scans all new tabs. When this special tab is identified, I want to move this to a new window and hide this window, so that the user can't close the tab by mistake.
Is this possible with a Chrome extension?
Thanks.

Closing google chrome extension by itself

I created my first google chrome extension,
All is working great but issue when I am doing any event to browser like scroll down\up its just closing by itself.
any possible reason?
I dont did any code that supposed to close the windows.
I just using 3 files
popup.html,popup.js,manifest.json
thanks!
Popups are closed automatically as soon as the lose focus.
So, if you do anything with the currently open tab, it loses focus and gets destroyed.

Re-using existing browser tabs when starting a new process

Right now I'm using Process.Start(URL_Here) to open a new page in the web browser - it will either open a browser or a new tab if one is already running. I was wondering, is there any reasonable (i.e. the one which won't require any 'hacks') way to re-use already opened tabs? - by "re-use" I mean a situation when f.e. www.google.com is already opened, I want to open a google page again, but instead of opening a new google tab it will redirect to the one that is already opened. Thanks for any help.
This sounds like standard browser behavior, and it's unlikely you'll be able to change it with simple command line arguments.
If you're willing to use Chrome and give every piece of data you transmit to The Company of Great Evil, then here's a plugin that can reuse a tab if you're using the same URL.

Watir: how to open a set of webpages in multiple tabs in IE9 or FF or Chrome?

I have a script that opens multiple URLs. Currently these URLs open in completely separate browser windows. I would like to open them in a single browser window with multiple tabs. I can use IE9 or the latest Chrome of Firefox. Is this possible?
I tried some things out, but I could not figure out a way to invoke a second tab through the API. I was able to set the IE tab settings to open links in a new tab. Then I created a page that had a link to a second page. When that link target="_blank", the second page opened in a new tab. Beyond that, I have no ideas.
What problem are you trying to solve with multiple tabs that wouldn't be solved with two browser instances?
Good luck,
Dave

My browser's back button should not work after logged out? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Disabling Back button on the browser
How to do this in asp.net friends?
If I'm a (prospective) customer of your company and you try to take away functionality of my browser, I will get angry at you and your company. You don't want that to happen.
If your user's logged out and uses the back button to go to a stale URL, detect this (it's simple enough!) and show him a page telling him there's nothing to see there. Better yet, take him to your app's home page or something.
You cannot disable the back button in a browser without using javascript, and even then javascript could be turned off on clients machine
http://forums.asp.net/t/989339.aspx

Resources