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
git clone https://github.com/adblockplus/adblockpluschrome | |
cd adblockpluschrome | |
git clone https://github.com/adblockplus/adblockplus | |
git clone https://github.com/adblockplus/buildtools | |
git clone https://github.com/adblockplus/adblockplustests | |
cd buildtools | |
git clone https://github.com/adblockplus/jshydra | |
cd .. | |
# Build Chrome development environment (you can use either "chrome", "opera" or "safari") |
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> | |
<title>Element Hiding: Anonymous iFrame</title> | |
</head> | |
<body> | |
<p> | |
Top frame: [<span class="hide">This text should be hidden</span>] | |
</p> |
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
"use strict"; | |
function test() { | |
let arr = ["a", "b", "c", "d", "e", "f"]; | |
let result = []; | |
while (arr.length) { | |
let i = Math.floor(Math.random() * (arr.length - 1)); | |
result.push(arr.splice(i, 1)[0]); | |
} | |
return result; |