Autofill v9.3.0 released

426 views
Skip to first unread message

thdoan

unread,
Oct 12, 2018, 10:00:32 PM10/12/18
to Autofill Chrome Extension
This release contains fixes for a couple recent bugs and a major new feature for you guys: variables! That's right, now you can assign text snippets to variables that can be used globally across all rules. To define a variable, go to the new Variables tab and enter a line using this syntax:

variable_name = some text

Variable names can only contain letters, numbers, and the underscore character. If the text snippet contains an equal sign, then it needs to be escaped with a backslash (e.g., \=). The text snippet cannot contain line breaks; if you want to output a line break, then use \n instead. As a bonus, you can even set a variable to a value returned by JavaScript ^_^. Here are some sample variables:

email = t...@smith.com
math = 1 + 1 \= 2
message = Line one\nLine two
short_date = javascript:(new Date()).toLocaleDateString('en-US')
long_date = javascript:(new Date()).toLocaleDateString('en-US', {weekday:'long', year:'numeric', month:'long', day:'numeric'})


To use a variable inside a rule (Value field only), enter {@variable_name}. For example, to autofill a field with today's date in long format using the definition above, enter {@long_date} and it will output "Friday, October 12, 2018".

Changelog:
  • Added Variables tab
  • Improved autofilling React forms
  • Fixed rule generation issue with Google Forms date fields
  • Fixed wizard not enabling overwrite for fields with default value
Reply all
Reply to author
Forward
0 new messages