Clean up white spaces

This commit is contained in:
kkapsner 2021-06-12 00:50:05 +02:00
parent 015350c385
commit 277bef1227
8 changed files with 21 additions and 21 deletions

View File

@ -10,14 +10,14 @@
<button id="addonStatus" class="undefined"></button>
<span id="reload" class="hidden"></span>
<div id="actions" class="stackedInputs"></div>
<script src="../lib/require.js"></script>
<script src="../lib/require.js"></script>
<script src="../lib/logging.js"></script>
<script src="../lib/extension.js"></script>
<script src="../lib/settingDefinitions.js"></script>
<script src="../lib/settingContainers.js"></script>
<script src="../lib/settings.js"></script>
<script src="../lib/lists.js"></script>
<script src="../lib/theme.js"></script>
<script src="../lib/extension.js"></script>
<script src="../lib/settingDefinitions.js"></script>
<script src="../lib/settingContainers.js"></script>
<script src="../lib/settings.js"></script>
<script src="../lib/lists.js"></script>
<script src="../lib/theme.js"></script>
<script src="browserAction.js"></script>
</body>
</html>

View File

@ -78,10 +78,10 @@
}
}
function error (...args){performLog(1, args);}
function warning(...args){performLog(25, args);}
function message(...args){performLog(50, args);}
function notice (...args){performLog(75, args);}
function error (...args){performLog(1, args);}
function warning(...args){performLog(25, args);}
function message(...args){performLog(50, args);}
function notice (...args){performLog(75, args);}
function verbose(...args){performLog(100, args);}
function metaLog(...args){performLog(999, args);}

View File

@ -101,7 +101,7 @@
function registerTimeout(){
const interval = getInterval();
if (interval > 0){
const timeout = settings.lastPersistentRndClearing + interval - Date.now();
const timeout = settings.lastPersistentRndClearing + interval - Date.now();
logging.message("registering persistent rng data clearing timeout. Clearing in ", timeout, "ms");
if (timeout > 1073741824){
// window.setTimeout can only handle delays up to 32 bit.

View File

@ -75,11 +75,11 @@
const positionAttributeLocation = context.getAttribLocation(program, "a_position");
context.enableVertexAttribArray(positionAttributeLocation);
const size = 2; // 2 components per iteration
const type = context.FLOAT; // the data is 32bit floats
const normalize = false; // don't normalize the data
const stride = 0; // 0 = move forward size * sizeof(type) each iteration to get the next position
const offset = 0; // start at the beginning of the buffer
const size = 2; // 2 components per iteration
const type = context.FLOAT; // the data is 32bit floats
const normalize = false; // don't normalize the data
const stride = 0; // 0 = move forward size * sizeof(type) each iteration to get the next position
const offset = 0; // start at the beginning of the buffer
context.vertexAttribPointer(positionAttributeLocation, size, type, normalize, stride, offset);
const texCoordLocation = context.getAttribLocation(program, "a_texCoord");

View File

@ -68,7 +68,7 @@ header .bookmarkNotice .dontShowOptionsOnUpdate input {
.settings .section h2 {
border: 1px #c1c1c1 solid;
border-radius: 0.5em ;
border-radius: 0.5em;
padding: 0.2em 2em 0.2em 0.5em;
margin: 0.7em 1px 0.2em;
position: relative;

View File

@ -30,7 +30,7 @@ Checks if the addon can be detected by websites. To check if CanvasBlocker was r
<li>CanvasBlocker enabled but all other addons disabled</li>
<li>CanvasBlocker disabled</li>
</ol>
<h2>Tests</h2>
<h2>Tests</h2>
<ul id="tests"></ul>
<script src="detectionTest.js"></script>
</body>

View File

@ -110,7 +110,7 @@ const iframeAPI = function(){
];
function getPerformer(callback){
return async function perform(method){
return async function perform(method){
const api = await method.prepare();
callback(api.window, method.name);
api.cleanup();

View File

@ -19,7 +19,7 @@
<li>both webGL versions should be supported (unless you disabled it in the browser settings) - reload if one is showing "not supported"</li>
<li>upon page reload the hashes change (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
<li>all the image hashes should be the same (offscreen workers are not yet protected by CanvasBlocker)</li>
<li>upon page reload some of the parameters (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
<li>upon page reload some of the parameters (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
<li>the "vendor" und "renderer" (also unmasked) parameters reflect the values you chose for them</li>
</ul>
<h3>Support</h3>