This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RequestAction = { | |
ACCEPT: 'accept', | |
ACCEPT_FREE: 'accept_free', | |
DECLINE: 'decline', | |
CHANGE: 'change', | |
PAY: 'pay', | |
WRITE: 'write', | |
SEND: 'send', | |
CLOSE: 'close', | |
CANCEL: 'cancel', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RequestAction = { | |
ACCEPT: 'accept', | |
ACCEPT_FREE: 'accept_free', | |
DECLINE: 'decline', | |
CHANGE: 'change', | |
PAY: 'pay', | |
WRITE: 'write', | |
SEND: 'send', | |
CLOSE: 'close', | |
CANCEL: 'cancel', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results_size": 50, | |
"results": [ | |
{ | |
"id": "151", | |
"title": "[1366] Grilled lil onions 320g", | |
"description": "[Mariangela Prunotto] <p>Mariangela Prunotto ha voluto racchiudere in un barattolo tutto il sapore delle squisite cipolline coltivate nei territori di Alba, per offrire un antipasto gustoso.<br /><br />A partire dalla mate…", | |
"image_url": "http://eataly-bbb-m2.docker/media/catalog/product/M/a/Mariangela-Prunotto-Cipolline-Alla-Brace-320g-1366.jpg", | |
"last_update": 1608223159, | |
"blob": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dismisses "Are you still there?" message popup on di.fm free accounts, immediately resuming playback. | |
// Load in page using extensions like https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija | |
// (no need to import jQuery as it's already avaiabled on the website) | |
$(document).ready(function(){ | |
// auto start playing | |
$('.ico.icon-play').closest('div').click() | |
window.setInterval(function(){ | |
// if interrupting modal is open, close it | |
$('button.close[data-dismiss="modal"]').click() | |
}, 5000) |