JavaScript Mobile Sensor Emulation (using GreaseMonkey/Tampermonkey)

I am trying to understand how this code works and why the result is different on an actual mobile device versus desktop: [url removed, login to view] (password: freelancer)

It looks like they are detecting changes in [url removed, login to view] and DeviceOrientationEvent to determine whether the visitor is actually on a mobile device.

I would like to simulate what happens in a mobile device using a browser extension like GreaseMonkey/TapMonkey.

Here is the Tampermonkey script I came up with: [url removed, login to view] (password: freelancer)

However, it doesn't seem to be refreshing the data as quickly as mobile devices.

Try the above Tampermonkey script on this website: [url removed, login to view]

You will notice that it only refreshes the data when you first load the page, or if you switch the tab and go back to it.

Now visit this page on a mobile device and it is constantly updating: [url removed, login to view]

I need you to help me recreate this behaviour, so that we can emulate a mobile device's responses on a desktop device (using Tampermonkey extension).

Here is a video so you get a better understanding:

Desktop: [url removed, login to view]

Mobile: [url removed, login to view] (constantly updating)

Since I have provided all of the codes above, ideally I would like someone to provide me with a recording of the working solution. You can then quote me a price based on how long it took you to create it.

Taidot: Javascript

Näytä lisää: telnet emulation javascript, click emulation javascript, javascript emulate, javascript emulate user click, javascript emulate click link, javascript emulate bookmark click, using sql mobile net, using sql mobile application, javascript emulate click, javascript xml array, javascript counter timer, javascript daily prayer time, scroll javascript sample, javascript total forms page, javascript scrollable panel, snow javascript, remove tags text javascript, javascript wordpress post, shirt design javascript, converting javascript, javascript registration forms, javascript onchange setting dynamic

About the Employer:
( 7 reviews ) Toronto, Canada

Projektin tunnus: #13084434

4 freelanceria on tarjonnut keskimäärin 383 $ tähän työhön


Hello, I'm a professional programmer for web programming with php language to build the system website, Besides, I'm also expert in MySQL , HTML,HTML5,CSS, JS I'm always top in Vietnam freelancer https://www.freela Lisää

277 $ USD 7 päivässä
(41 arvostelua)

Hello, my name is Olya. I represent Ukrainian IT Company «Webbook». We provide website design and web and app development services for organizations, public and government institutions, company or private web-pages. Lisää

250 $ USD 20 päivässä
(7 arvostelua)

Check out our portfolio at we've done over 50 projects world wide and all successfully. You may always contact me personally with any questions/concerns and I'll be more than happy to assist you. Any so Lisää

1000 $ USD 21 päivässä
(3 arvostelua)

A proposal has not yet been provided

250 $ USD 3 päivässä
(1 arvostelu)

Hi, The problems are- 1. Chrome aggressively throttle background tabs 2. The page has error in js in line-46. There is no 'event' variable in current scope, it w Lisää

30 $ USD 0 päivässä
(1 arvostelu)