Module: content script - util

Methods

(inner) randomString(length)

Generates a random string of a specified length.
Parameters:
Name Type Description
length number The length of the random string.
Source:

(inner) updateStatus(url, type, searchTerm, toUrl)

Updates the status table on the working page. For every action performed by this extension, there will be added a new row containing the following information:
Parameters:
Name Type Description
url string The url on which the action was performed.
type string The type of the action.
searchTerm string The term we searched in case the type was 'search'.
toUrl string The url to which we got directed (if we got directed at all).
Source: