Please note, this stylesheet may not work on all browsers, as the CSS scrollbar API is not standardized.
1.1.0
- Made the checkerboard pattern translucent.
| // Example POST method implementation: | |
| async function postData(url = '', data = {}) { | |
| // Default options are marked with * | |
| const response = await fetch(url, { | |
| method: 'POST', // *GET, POST, PUT, DELETE, etc. | |
| mode: 'cors', // no-cors, *cors, same-origin | |
| cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached | |
| credentials: 'same-origin', // include, *same-origin, omit | |
| headers: { |
Please note, this stylesheet may not work on all browsers, as the CSS scrollbar API is not standardized.
1.1.0
| <NotepadPlus> | |
| <UserLang name="Markdown" ext="md markdown" udlVersion="2.1"> | |
| <Settings> | |
| <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" /> | |
| <Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Comments">00# 01 02((EOL)) 03<!-- 04--></Keywords> | |
| <Keywords name="Numbers, prefix1"></Keywords> | |
| <Keywords name="Numbers, prefix2"></Keywords> |
| <!DOCTYPE html | |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <title>HTML Template</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <style> | |
| body { | |
| width: 100% !important; |
| const deepCopyFunction = (inObject) => { | |
| let outObject, value, key | |
| if (typeof inObject !== "object" || inObject === null) { | |
| return inObject // Return the value if inObject is not an object | |
| } | |
| // Create an array or object to hold the values | |
| outObject = Array.isArray(inObject) ? [] : {} |
| export const scrollToElement = (id, position) => { | |
| const element = document.getElementById(id); | |
| if (element) { | |
| element.scrollIntoView({ | |
| behavior: 'smooth', | |
| block: position, | |
| }); | |
| } | |
| }; |
| const STATUS_CODES = { | |
| 100: 'Continue', | |
| 101: 'Switching Protocols', | |
| 102: 'Processing', // RFC 2518, obsoleted by RFC 4918 | |
| 103: 'Early Hints', | |
| 200: 'OK', | |
| 201: 'Created', | |
| 202: 'Accepted', | |
| 203: 'Non-Authoritative Information', | |
| 204: 'No Content', |
| /** | |
| * Get a URL parameter | |
| * @param {String} name - Name of parameter | |
| * @returns {(String|null)} The value of parameter, if found | |
| */ | |
| function getUrlParam(name) { | |
| return new URL(location.href).searchParams.get(name); | |
| } |