Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Netflix move 'Continue Watching' to first row
- *
- * https://chrome.google.com/webstore/detail/netflix-topmost-continue/oheedalhfdnpheinnongdiakmophclgh
- */
- setInterval(function () {
- var container = document.getElementsByClassName('lolomo')[0];
- if (!container) { return; }
- var rows = container.getElementsByClassName('lolomoRow_title_card');
- for (var i = 0; i < rows.length; i++) {
- if (rows[i].getAttribute('data-list-context') == 'continueWatching') {
- if (i) {
- container.insertBefore(rows[i], rows[0]);
- }
- return;
- }
- }
- }, 500);
Add Comment
Please, Sign In to add comment