Switch url fluidly (for example youtube/soundcloud in keeping the progression) from your current device to another
Switch to many devices like computer and smartphones fluidly and quickly:
for example continue to watch your youtube/soundcloud in keeping the current progression from your current device to another in 2 click.
One left click to the extension icon save the current page to the selected server in option (with current timestamp if managed for this website).
You can now open it by visiting the swap.html file of your server on all other device who you don't have / can't install browser extension (quick tip: you have mobile browser like Kiwi for install browser extension in android) or rigth click on the extension button and select open here.
Curently managed for keep media time (on other website we just save the page's url):
https://soundcloud.com
https://www.twitch.tv
https://youtube.com
https://www.radiofrance.fr/
Sources of this extension are available at: https://github.com/lp177/SUS
You can build your own server in folowing this basic exemple (need to replace MY_TOKEN_KEY_HERE with your random selected token put in extension settings) for [server]/swap.php containing:
<?php
$myToken = 'MY_TOKEN_KEY_HERE';
if (isset($_POST['auth_key'],$_POST['data']) && $_POST['auth_key'] === $myToken)
{
file_put_contents('swap.txt', $_POST['data'], LOCK_EX);
file_put_contents(
'swap.html',
'<html>'
.'<head>'
.'<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">'
.'<meta http-equiv="Pragma" content="no-cache">'
.'<meta http-equiv="Expires" content="0">'
.'</head>'
.'<body>'
.'<script>window.location = "'.str_replace('"', '\"', $_POST['data']).'";</script>'
.'</body>'
.'</html>',
LOCK_EX
);
header('Access-Control-Allow-Origin: *');
echo 'ok';
}
else
header('Location: swap.txt');