DFM Auto Refresh Script
< Feedback on DFM Auto Refresh
And add code if you can,
line 24:
console.log('Stopped auto-refresh');
document.querySelector('button[id="btnAutoRefresh"]').style.backgroundColor="FireBrick";
line 34:
console.log('Started auto-refresh');
document.querySelector('button[id="btnAutoRefresh"]').style.backgroundColor="greenyellow";
line52:
chane greenyellow
to FireBrick
Best regards,
It's from Japan, using this great script.
When I change the language to Japanese, the name of the button changes and doesn't work, so I'd like you to try changing line 29 to the following.
var btn = document.querySelector('button[id*="Mscrm.Modern.refreshCommand"][id$="button"]');
I have confirmed that it works in the environment at hand, but I couldn't figure out how to PullRequest on this site, so please excuse the Feedback.
I'm sorry if my English is not good enough.Thank you for your time.
Hi wataru-x,
I already published the V1.6 to fix the above issues, thanks for your suggestion:)
It's from Japan, using this great script.
When I change the language to Japanese, the name of the button changes and doesn't work, so I'd like you to try changing line 29 to the following.
var btn = document.querySelector('button[id*="Mscrm.Modern.refreshCommand"][id$="button"]');
I have confirmed that it works in the environment at hand, but I couldn't figure out how to PullRequest on this site, so please excuse the Feedback. I'm sorry if my English is not good enough.
Thank you for your time.