This has been moved to https://github.com/brettz9/atyourcommand
This file contains 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
<script> | |
var url = window.location.href.match(/[?&]url=([^&]*)(?=&|$)/); | |
url = url && url[1]; | |
url = decodeURIComponent(url).match(/[?&]url=([^&]*)(?=&|$)/); | |
url = url && url[1]; | |
window.location = decodeURIComponent(url); | |
</script> |
This file contains 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
/*global speechSynthesis, SpeechSynthesisUtterance*/ | |
/*jslint vars:true, browser:true, devel:true*/ | |
(function () {'use strict'; | |
if (window.SpeechSynthesisUtterance) { | |
/* | |
Other properties/events: | |
speechSynthesis properties: pending, speaking, paused |
This file contains 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
/** | |
* Chunkify | |
* Google Chrome Speech Synthesis Chunking Pattern | |
* Fixes inconsistencies with speaking long texts in speechUtterance objects | |
* Licensed under the MIT License | |
* | |
* Peter Woolley and Brett Zamir | |
*/ | |
var speechUtteranceChunker = function (utt, settings, callback) { |
This file contains 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
// http://www.quirksmode.org/js/detect.html | |
var BrowserDetect = { | |
init: function () { | |
this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; | |
this.version = this.searchVersion(navigator.userAgent) | |
|| this.searchVersion(navigator.appVersion) | |
|| "an unknown version"; | |
this.OS = this.searchString(this.dataOS) || "an unknown OS"; | |
}, | |
searchString: function (data) { |
This file contains 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
var me = Services.wm.getMostRecentWindow(null); | |
Cu.import('resource://gre/modules/osfile.jsm'); | |
var pathProfilesIni = OS.Path.join(OS.Constants.Path.userApplicationDataDir, 'profiles.ini'); | |
me.alert(pathProfilesIni); | |
//apparently theres for profiles made in default prof dir: | |
//localDir = C:\Users\ali57233\AppData\Local\Mozilla\Firefox\Profiles\czbm1ps9.rnd1 | |
//rootDir = C:\Users\ali57233\AppData\Roaming\Mozilla\Firefox\Profiles\czbm1ps9.rnd1 | |
//for custom prof dir localDir and rootDir are same |
This file contains 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" /> | |
<script src="jsl.js"></script> | |
</head> | |
<body> | |
<a>test</a> | |
<a>test2</a> |
This file contains 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> | |
<meta charset="utf-8" /> | |
<label class="myItems">Hello</label> | |
<label class="myItems">World!</label> | |
<script src="jqflower.js"></script> | |
<script> | |
try { | |
This file contains 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
2 LET Z = 0 | |
3 FOR YU = 1 TO 3 | |
4 GR | |
5 B = 24:A = 10:X = 20:Y = 20 | |
6 COLOR= 1: PLOT X,Y | |
7 COLOR= 2: PLOT A,B: HOME | |
8 COLOR= 1: IF SCRN( A,B) = 1 THEN 20000 | |
9 HOME : PRINT "SCORE ";: PRINT Z:P = PEEK ( - 16384): POKE - 16368,0 | |
10 IF P = 65 THEN 509 | |
20 IF P = 21 THEN 1000 |
This file contains 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
/*global XSLTProcessor, DOMParser, XMLSerializer*/ | |
/*jslint vars:true */ | |
/*! https://mths.be/array-from v0.2.0 by @mathias */ | |
if (!Array.from) { | |
(function() { | |
'use strict'; | |
var defineProperty = (function() { | |
var result; | |
// IE 8 only supports `Object.defineProperty` on DOM elements. |
OlderNewer