Skip to content

Instantly share code, notes, and snippets.

@locofocos
Created April 14, 2021 17:54
Show Gist options
  • Save locofocos/e690649d2a9d96f78ea5f5d33e5083d6 to your computer and use it in GitHub Desktop.
Save locofocos/e690649d2a9d96f78ea5f5d33e5083d6 to your computer and use it in GitHub Desktop.
Popout for Google Chrome™ source

There was this great chrome extension called "Popout for Google Chrome™". It gave you a button to open the current page as a popup. This is great for tiling a handful of chrome windows as if they're native applications. Google seems to have removed it from the chrome store, saying "This extension violates the Chrome Web Store policy.".

https://chrome.google.com/webstore/detail/nejkhdlfjifmhomnedomededpaeohcmi

It looks like this is literally all the source code. So I'm leaving this here, in case my current zip backup of the extension ever gets lost, and I (or someone else) wants to recreate this extension.

background.js

chrome.browserAction.onClicked.addListener(function(tab) {
		chrome.windows.create({ tabId : tab.id, type: 'popup' });
	});

Here's to hoping the original author can get it back on the store!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment