Łukasz Trzewik
Łukasz Trzewik

Reputation: 1165

Chrome extensions disable reopening of an extension created tab

I couldn't find any similar question to this, but is it possible to create a new tab within chrome extension (using chrome.tabs.create) and then after closing it using the same extension prohibit user from reopening it using ctrl+shift+t or undo close tab command?

Upvotes: 0

Views: 85

Answers (1)

Xan
Xan

Reputation: 77502

You can open an incognito tab; it will have the requested behavior.

I don't think you can clear session data, and simply clearing history does not prevent reopening.

Upvotes: 1

Related Questions