Skip to content

Instantly share code, notes, and snippets.

View jmelvnsn's full-sized avatar

Jamie Levinson jmelvnsn

  • Axios
  • Chicago, IL
View GitHub Profile
@jmelvnsn
jmelvnsn / Sublime Keymap Prank
Last active August 29, 2015 14:01
Sublime Keymap Prank
Sublime > Preferences > Key Bindings-User
Add:
{ "keys": ["enter"], "command": "new_window" }
javascript:(function() {
var companyElement = document.querySelector('.job-details-jobs-unified-top-card__company-name');
if (companyElement) {
var companyName = companyElement.textContent.trim();
var encodedCompanyName = encodeURIComponent(companyName);
var airtableURL = 'https://airtable.com/app1PaujS9zxVGUZ4/shrqYt5kSqMzHV9R5/tbl8c8kanuNB6bPYr?filterContains_Company=' + encodedCompanyName;
window.open(airtableURL, '_blank');
} else {
alert('Company name not found!');
}