<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

const
config = require('../../lib/configuration');


function getBookmarkletHref(){
  //TODO: Cleanup
  var baseCode = "javascript:(function()%7Bvar%20script=document.createElement('script');script.src='" + 
                 config.get('public_url') + 
                 "/bookmarklet.js';script.className='TowTruck';document.head.appendChild(script);%7D)();"

  return baseCode;
}<commit_msg>Using the correct class for the bookmarklet script.<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

const
config = require('../../lib/configuration');


function getBookmarkletHref(){
  //TODO: Cleanup
  var baseCode = "javascript:(function()%7Bvar%20script=document.createElement('script');script.src='" + 
                 config.get('public_url') + 
                 "/bookmarklet.js';script.className='tow-truck';document.head.appendChild(script);%7D)();"

  return baseCode;
}
{'fraction_non_alphanumeric': 0.14545454545454545, 'fraction_numerical': 0.012648221343873518, 'mean_word_length': 3.553956834532374, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5797420', 'n_tokens_mistral': 390, 'n_tokens_neox': 366, 'n_words': 105}