This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// to create bookmarklet, use this next line as the bookmark URL (without the leading //) | |
// javascript:window.location.href%20=%20%27http://ec2.images-amazon.com/images/P/%27%20+%20location.pathname.match(/[0-9A-Z]{10}/)[0]%20+%20%27.01._SCRM_.jpg%27; | |
// source | |
window.location.href = 'http://ec2.images-amazon.com/images/P/' + location.pathname.match(/[0-9A-Z]{10}/)[0] + '.01._SCRM_.jpg'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Empty --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**! | |
* Sortable 1.15.0 | |
* @author RubaXa <trash@rubaxa.org> | |
* @author owenm <owen23355@gmail.com> | |
* @license MIT | |
*/ | |
function _extends() { | |
_extends = Object.assign || function (target) { | |
for (var i = 1; i < arguments.length; i++) { | |
var source = arguments[i]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Right-Click to Crash Me</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Right-Click to Crash Me</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { app, BrowserWindow, dialog } = require('electron/main') | |
app.whenReady().then(async () => { | |
const mainWindow = new BrowserWindow({ height: 600, width: 600 }) | |
try { | |
const { filePaths, canceled } = await dialog.showOpenDialog(mainWindow, { | |
defaultPath: app.getPath('documents'), | |
properties: ['openFile'], | |
filters: [ |