- When I open a new tab, the URL bar has focus. I start typing in it. After a while, it highlights the text I've typed and I start typing over it.
- It has a lot of options, but none of the ones I care about (with the exception of the proxy configuration. What's up with this in Chrome/ium?). What's auto-scrolling, and where can I configure my plugins to, say, start on click? Wait, I can't. (If I can, I haven't found it. Sorry.)
- Changing search engines properly requires messing around in
about:config
. I should not have to do this. Or download a plugin (which don't necessarily exist for a given search engine). - There are a bunch of different developer consoles, only about one of which - Ctrl+Shift+K - is actually useful, but still lacks the CSS debugging information from Ctrl+Shift+J. Can't we all just put this in one place, please? Also, the Net panel doesn't include responses, just headers, which is not always useful. Or ever. I know, I can use Firebug, but still.
- Private browsing
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
// Put anything here to make the final assertion true. | |
;var isSafe = function(input) { | |
return /^\d+([.e]\d+)?$/.test(input); | |
}; | |
if(typeof magnitude === 'string') { | |
var input = '1e' + magnitude; | |
isSafe(input) && typeof eval(input) !== 'number'; |
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
// Put anything here to make the final assertion true. | |
var isSafe = function(input) { | |
return /^\d+([.e]\d+)?$/.test(input); | |
}; | |
var input = '1e' + magnitude; | |
isSafe(input) && typeof eval(input) !== 'number'; |
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
// Put anything here to make the final assertion true. | |
!function() { | |
return typeof this === 'object'; | |
}.call(obj); |
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
// Put anything here to make the final assertion true. | |
function isSafe(input) { | |
return /^\d+([.e]\d+)?$/.test(input); | |
} | |
isSafe(input) && typeof eval(input) !== 'number' |
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
with(evil()) { | |
get /user | |
(response) ( | |
response.write("Hello, world!") | |
) | |
post /user | |
(response) ( | |
response.write("Unauthorized!") | |
) |
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
container.append $ '<button>', $ '<button>' | |
text: 'Save' text: 'Cancel' |
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
$('.vote-count-post').map(function() { return {votes: $(this).text(), name: $(this).closest('tr').find('.user-details > a').text()}; }).get().sort(function(a, b) { return b.votes - a.votes; }).forEach(function(item) { console.log(item); }); |
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
for(var i=0;i<1e3;i++)Object.defineProperty(Number.prototype,'_'+i,{get:function(i){return function(){for(var r=[],j=~~this;j<=i;j++)r.push(j);return r;};}(i)}); | |
1.._20.forEach(function(i) { | |
console.log(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
var html4 = { | |
A: true, ABBR: true, ACRONYM: true, ADDRESS: true, APPLET: true, AREA: true, B: true, BASE: true, BASEFONT: true, | |
BDO: true, BIG: true, BLOCKQUOTE: true, BODY: true, BR: true, BUTTON: true, CAPTION: true, CENTER: true, CITE: true, | |
CODE: true, COL: true, COLGROUP: true, DD: true, DEL: true, DFN: true, DIR: true, DIV: true, DL: true, DT: true, EM: true, | |
FIELDSET: true, FONT: true, FORM: true, FRAME: true, FRAMESET: true, H1: true, H2: true, H3: true, H4: true, H5: true, | |
H6: true, HEAD: true, HR: true, HTML: true, I: true, IFRAME: true, IMG: true, INPUT: true, INS: true, ISINDEX: true, | |
KBD: true, LABEL: true, LEGEND: true, LI: true, LINK: true, MAP: true, MENU: true, META: true, NOFRAMES: true, | |
NOSCRIPT: true, OBJECT: true, OL: true, OPTGROUP: true, OPTION: true, P: true, PARAM: true, PRE: true, Q: true, S: true, | |
SAMP: true, SCRIPT: true, SELECT: true, SMALL: true, SPAN: true, STRIKE: true, STRONG: true, STYLE: true, SUB: true, | |
SUP: true, TABLE: true, TBODY: true |