Kintone Coding Guidelines
Always use UTF-8 without BOM.
Namespaces and Variables
Do not overwrite existing global objects.
Declare local variables inside the scope of anonymous functions or within block scope. Do not declare variables as global variables.
Use a namespace object if a variable needs to be used between function scopes.
Avoid Using or Overwriting Global Variables
Declare Variables Within the Scope of Blocks
Add to or Reference Existing Objects Rather than Editing
id/class Attributes that are Used in Kintone
The id/class attributes of each element used in Kintone may be changed without any notice.
The DOM structure may also change without any notice.
As Kintone's CSS may affect the elements, they may not always look the same.
Retrieving the URL
kintone.api.url() or the
kintone.api.urlForGet() method to retrieve the Kintone URL.
Consider the Effect to the Kintone Service
Avoid sending large amounts of requests within a short time period
Programs that automatically send large amounts of requests, and those that run multiple requests in parallel, can both lead to performance degradation and slow responses. Be aware that we may limit your Kintone environment's access if you are sending requests that place high load onto our servers and use up a high amount of our resources.
Check Operations on Several Web Browsers
Check that the customizations that you have made are working correctly on different web browsers.
For Kintone’s system requirements, refer to the System Requirements page.
Set an appropriate user agent
Please set an appropriate value in the User-Agent header, so that we can identify what services or tools the requests are coming from.
Refer to the guidelines on user-agents through the below link:
Effects of Kintone Updates