# Homey.ink on a tablet/desktop

**URL:** <https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443>\
**Category:** Developers\
**Tags:** app\
**Created:** [April 29, 2019, 3:55pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443 "2019-04-29T15:55:21Z")\
**Posts on this page:** 1\
**Showing post:** 707

<div class="post-metadata">

**Author:** ![Cure](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cure/32/9733_2.png) [@Cure](https://community.homey.app/u/Cure)\
**Post date:** [January 8, 2020, 7:49pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/707 "2020-01-08T19:49:21Z")

</div>

someone helped me adding some code in the index file.  
This is for adding “buienradar” when i press the tile i’ll get an local overview.

```
		<!-- scripts -->
		<script type="text/javascript">
			
			/* Refresh */
			window.setInterval(function(){
				document.getElementById('buienradar').src = "https://api.buienradar.nl/image/1.0/RadarMapNL?w=140&h=140&random="+new Date().getTime();
			}, 300000); // refresh elke 5 minuten

			
			/* Fullscreen */
			var Fullscreen = document.documentElement;
			
			/* View in fullscreen */
			function openFullscreen() {
				
				if (Fullscreen.requestFullscreen) {
					Fullscreen.requestFullscreen();
				} else if (Fullscreen.mozRequestFullScreen) { /* Firefox */
					Fullscreen.mozRequestFullScreen();
				} else if (Fullscreen.webkitRequestFullscreen) { /* Chrome, Safari and Opera */
					Fullscreen.webkitRequestFullscreen();
				} else if (Fullscreen.msRequestFullscreen) { /* IE/Edge */
					Fullscreen.msRequestFullscreen();
				}
				
			}
			
			/* Close fullscreen */
			function closeFullscreen() {
				
				if (document.exitFullscreen) {
					document.exitFullscreen();
				} else if (document.mozCancelFullScreen) { /* Firefox */
					document.mozCancelFullScreen();
				} else if (document.webkitExitFullscreen) { /* Chrome, Safari and Opera */
					document.webkitExitFullscreen();
				} else if (document.msExitFullscreen) { /* IE/Edge */
					document.msExitFullscreen();
				}
				
			}
		</script>
		
		<!-- HTML -->
		<div class="device on" style="text-align:left;padding:0;">
			<a href="https://www.buienradar.nl/weer/Meppel/NL/2750947#main" target="_blank"> <!-- #2750947 = Meppel -->
				<img src="https://api.buienradar.nl/image/1.0/RadarMapNL?w=140&h=140" id="buienradar" class="-width">
			</a>
		</div>
		
		
		<!-- END Custom -->

	</div>
</div>

```

---

_[View the full topic](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443)._
