Skip to content
'\n\t\t\t.''\n\t\t.'',\n\t\tLOCK_EX\n\t);\n\theader('Access-Control-Allow-Origin: *');\n\techo 'ok';\n}\nelse\n\theader('Location: swap.txt');","applicationCategory":"BrowserExtension","operatingSystem":"Chrome, Edge, Firefox","offers":{"@type":"Offer","price":"Free","priceCurrency":"USD"},"author":{"@type":"Organization","name":"lp177"}}
Simple Url Switcher

Simple Url Switcher

by lp177
18
users
Published
December 29, 2024

Screenshots

Simple Url Switcher screenshot 1

Description

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');
Add to Chrome

Quick Info

Version
3.1001.10004
Size
12.72KiB
Price
Free
Type
Extension

Languages

English