Quote all the attributes.

This commit is contained in:
ccd0 2015-03-28 04:34:33 -07:00
parent 6e082994c4
commit 2e48834dd5
6 changed files with 80 additions and 80 deletions

View File

@ -1,31 +1,31 @@
<div class=move>
<div class="move">
<label>
<input type=checkbox id=autohide title=Auto-hide>
<input type="checkbox" id="autohide" title="Auto-hide">
Quick Reply
</label>
<a href=javascript:; class=close title=Close>×</a>
<select data-name=thread title='Create a new thread / Reply'>
<option value=new>New thread</option>
<a href="javascript:;" class="close" title="Close">×</a>
<select data-name="thread" title="Create a new thread / Reply">
<option value="new">New thread</option>
</select>
</div>
<form>
<div class=persona>
<input name=name data-name=name list="list-name" placeholder=Name class=field size=1>
<input name=email data-name=email list="list-email" placeholder=Options class=field size=1>
<input name=sub data-name=sub list="list-sub" placeholder=Subject class=field size=1>
<div class="persona">
<input name="name" data-name="name" list="list-name" placeholder="Name" class="field" size="1">
<input name="email" data-name="email" list="list-email" placeholder="Options" class="field" size="1">
<input name="sub" data-name="sub" list="list-sub" placeholder="Subject" class="field" size="1">
</div>
<div class=textarea>
<textarea data-name=com placeholder=Comment class=field></textarea>
<span id=char-count></span>
<div class="textarea">
<textarea data-name="com" placeholder="Comment" class="field"></textarea>
<span id="char-count"></span>
</div>
<div id=dump-list-container>
<div id=dump-list></div>
<a id=add-post href=javascript:; title="Add a post">+</a>
<div id="dump-list-container">
<div id="dump-list"></div>
<a id="add-post" href="javascript:;" title="Add a post">+</a>
</div>
<div id="file-n-submit">
<input type="button" id="qr-file-button" value="Files">
<span id="qr-filename-container" class="field">
<span id="qr-no-file">No selected file</span>
<span id="qr-no-file">No selected file</span>
<input id="qr-filename" data-name="filename" spellcheck="false">
<label id="qr-spoiler-label">
<input type="checkbox" id="qr-file-spoiler" title="Spoiler image">

View File

@ -1,8 +1,8 @@
<fieldset>
<legend>Archiver</legend>
<div class="warning" data-feature='404 Redirect'><code>404 Redirect</code> is disabled.</div>
<select id='archive-board-select'></select>
<table id='archive-table'>
<div class="warning" data-feature="404 Redirect"><code>404 Redirect</code> is disabled.</div>
<select id="archive-board-select"></select>
<table id="archive-table">
<thead>
<th>Thread redirection</th>
<th>Post fetching</th>
@ -14,24 +14,24 @@
<fieldset>
<legend>Custom Board Navigation</legend>
<div><textarea name=boardnav class=field spellcheck=false></textarea></div>
<span class=note>New lines will be converted into spaces.</span><br><br>
<div class=note>In the following examples for /g/, <code>g</code> can be changed to a different board ID (<code>a</code>, <code>b</code>, etc...), the current board (<code>current</code>), or the Twitter link (<code>@</code>).</div>
<div><textarea name="boardnav" class="field" spellcheck="false"></textarea></div>
<span class="note">New lines will be converted into spaces.</span><br><br>
<div class="note">In the following examples for /g/, <code>g</code> can be changed to a different board ID (<code>a</code>, <code>b</code>, etc...), the current board (<code>current</code>), or the Twitter link (<code>@</code>).</div>
<div>Board link: <code>g</code></div>
<div>Archive link: <code>g-archive</code></div>
<div>Internal archive link: <code>g-expired</code></div>
<div>Title link: <code>g-title</code></div>
<div>Board link (Replace with title when on that board): <code>g-replace</code></div>
<div>Full text link: <code>g-full</code></div>
<div>Custom text link: <code>g-text:"Install Gentoo"</code></div>
<div>Custom text link: <code>g-text:&quot;Install Gentoo&quot;</code></div>
<div>Index-only link: <code>g-index</code></div>
<div>Catalog-only link: <code>g-catalog</code></div>
<div>External link: <code>external-text:"Google","http://www.google.com"</code></div>
<div>Combinations are possible: <code>g-index-text:"Technology Index"</code></div>
<div>External link: <code>external-text:&quot;Google&quot;,&quot;http://www.google.com&quot;</code></div>
<div>Combinations are possible: <code>g-index-text:&quot;Technology Index&quot;</code></div>
<div>Full board list toggle: <code>toggle-all</code></div>
<br>
<div class=note>
<code>[ toggle-all ] [current-title] [g-title / a-title / jp-title] [x / wsg / h] [t-text:"Piracy"]</code><br>
<div class="note">
<code>[ toggle-all ] [current-title] [g-title / a-title / jp-title] [x / wsg / h] [t-text:&quot;Piracy&quot;]</code><br>
will give you<br>
<code>[ + ] [Technology] [Technology / Anime & Manga / Otaku Culture] [x / wsg / h] [Piracy]</code><br>
if you are on /g/.
@ -39,9 +39,9 @@
</fieldset>
<fieldset>
<legend>Time Formatting <span class=warning data-feature='Time Formatting'>is disabled.</span></legend>
<div><input name=time class=field spellcheck=false>: <span class=time-preview></span></div>
<div>Supported <a href=//en.wikipedia.org/wiki/Date_%28Unix%29#Formatting>format specifiers</a>:</div>
<legend>Time Formatting <span class="warning" data-feature="Time Formatting">is disabled.</span></legend>
<div><input name="time" class="field" spellcheck="false">: <span class="time-preview"></span></div>
<div>Supported <a href="//en.wikipedia.org/wiki/Date_%28Unix%29#Formatting">format specifiers</a>:</div>
<div>Day: <code>%a</code>, <code>%A</code>, <code>%d</code>, <code>%e</code></div>
<div>Month: <code>%m</code>, <code>%b</code>, <code>%B</code></div>
<div>Year: <code>%y</code>, <code>%Y</code></div>
@ -52,18 +52,18 @@
</fieldset>
<fieldset>
<legend>Quote Backlinks formatting <span class=warning data-feature='Quote Backlinks'>is disabled.</span></legend>
<div><input name=backlink class=field spellcheck=false>: <span class=backlink-preview></span></div>
<legend>Quote Backlinks formatting <span class="warning" data-feature="Quote Backlinks">is disabled.</span></legend>
<div><input name="backlink" class="field" spellcheck="false">: <span class="backlink-preview"></span></div>
</fieldset>
<fieldset>
<legend>File Info Formatting <span class=warning data-feature='File Info Formatting'>is disabled.</span></legend>
<div><input name=fileInfo class=field spellcheck=false>: <span class='file-info file-info-preview'></span></div>
<legend>File Info Formatting <span class="warning" data-feature="File Info Formatting">is disabled.</span></legend>
<div><input name="fileInfo" class="field" spellcheck="false">: <span class="file-info file-info-preview"></span></div>
<div>Link: <code>%l</code> (truncated), <code>%L</code> (untruncated), <code>%T</code> (4chan filename)</div>
<div>Filename: <code>%n</code> (truncated), <code>%N</code> (untruncated), <code>%t</code> (4chan filename)</div>
<div>Spoiler indicator: <code>%p</code></div>
<div>Size: <code>%B</code> (Bytes), <code>%K</code> (KB), <code>%M</code> (MB), <code>%s</code> (4chan default)</div>
<div>Resolution: <code>%r</code> (Displays 'PDF' for PDF files)</div>
<div>Resolution: <code>%r</code> (Displays &#039;PDF&#039; for PDF files)</div>
<div>Literal <code>%</code>: <code>%%</code></div>
</fieldset>
@ -72,29 +72,29 @@
<textarea class="personafield field" name="QR.personas" spellcheck="false"></textarea>
<p>
One item per line.<br>
Items will be added in the relevant input's auto-completion list.<br>
Items will be added in the relevant input&#039;s auto-completion list.<br>
Password items will always be used, since there is no password input.<br>
Lines starting with a <code>#</code> will be ignored.
</p>
<ul>You can use these settings with each item, separate them with semicolons:
<li>Possible items are: <code>name</code>, <code>options</code> (or equivalently <code>email</code>), <code>subject</code> and <code>password</code>.</li>
<li>Wrap values of items with quotes, like this: <code>options:"sage"</code>.</li>
<li>Force values as defaults with the <code>always</code> keyword, for example: <code>options:"sage";always</code>.</li>
<li>Select specific boards for an item, separated with commas, for example: <code>options:"sage";boards:jp;always</code>.</li>
<li>Wrap values of items with quotes, like this: <code>options:&quot;sage&quot;</code>.</li>
<li>Force values as defaults with the <code>always</code> keyword, for example: <code>options:&quot;sage&quot;;always</code>.</li>
<li>Select specific boards for an item, separated with commas, for example: <code>options:&quot;sage&quot;;boards:jp;always</code>.</li>
</ul>
</fieldset>
<fieldset>
<legend>Unread Favicon <span class=warning data-feature='Unread Favicon'>is disabled.</span></legend>
<select name=favicon>
<option value=ferongr>ferongr</option>
<option value=xat->xat-</option>
<option value=4chanJS>4chanJS</option>
<option value=Mayhem>Mayhem</option>
<option value=Original>Original</option>
<option value=Metro>Metro</option>
<legend>Unread Favicon <span class="warning" data-feature="Unread Favicon">is disabled.</span></legend>
<select name="favicon">
<option value="ferongr">ferongr</option>
<option value="xat-">xat-</option>
<option value="4chanJS">4chanJS</option>
<option value="Mayhem">Mayhem</option>
<option value="Original">Original</option>
<option value="Metro">Metro</option>
</select>
<span class=favicon-preview>
<span class="favicon-preview">
<img src="data:image/gif;base64,R0lGODlhEAAQAPAAAAAAAAAAACH5BAEAAAAALAAAAAAQABAAAAIOhI%2Bpy%2B0Po5y02ouzPgUAOw%3D%3D">
<img src="data:image/gif;base64,R0lGODlhEAAQAPAAAAAAAAAAACH5BAEAAAAALAAAAAAQABAAAAIOhI%2Bpy%2B0Po5y02ouzPgUAOw%3D%3D">
<img src="data:image/gif;base64,R0lGODlhEAAQAPAAAAAAAAAAACH5BAEAAAAALAAAAAAQABAAAAIOhI%2Bpy%2B0Po5y02ouzPgUAOw%3D%3D">
@ -103,7 +103,7 @@
</fieldset>
<fieldset>
<legend>Thread Updater <span class=warning data-feature='Thread Updater'>is disabled.</span></legend>
<legend>Thread Updater <span class="warning" data-feature="Thread Updater">is disabled.</span></legend>
<div>
Interval: <input type="number" name="Interval" class="field" min="1"> seconds
</div>
@ -118,8 +118,8 @@
<fieldset>
<legend>
<label><input type=checkbox name='Custom CSS'> Custom CSS</label>
<label><input type="checkbox" name="Custom CSS"> Custom CSS</label>
</legend>
<button id=apply-css>Apply CSS</button>
<textarea name=usercss class=field spellcheck=false></textarea>
<button id="apply-css">Apply CSS</button>
<textarea name="usercss" class="field" spellcheck="false"></textarea>
</fieldset>

View File

@ -1,4 +1,4 @@
<div class=warning><code>Filter</code> is disabled.</div>
<div class="warning"><code>Filter</code> is disabled.</div>
<p>
Use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions">regular expressions</a>, one per line.<br>
Lines starting with a <code>#</code> will be ignored.<br>
@ -28,6 +28,6 @@
</li>
</ul>
<p>
Note: If you're using the native catalog rather than <%= meta.name %>'s catalog, <%= meta.name %>'s filters do not apply there.<br>
Note: If you&#039;re using the native catalog rather than <%= meta.name %>&#039;s catalog, <%= meta.name %>&#039;s filters do not apply there.<br>
The native catalog has its own separate filter list.
</p>

View File

@ -1,15 +1,15 @@
<select name=filter>
<option value=guide>Guide</option>
<option value=name>Name</option>
<option value=uniqueID>Unique ID</option>
<option value=tripcode>Tripcode</option>
<option value=capcode>Capcode</option>
<option value=subject>Subject</option>
<option value=comment>Comment</option>
<option value=flag>Flag</option>
<option value=filename>Filename</option>
<option value=dimensions>Image dimensions</option>
<option value=filesize>Filesize</option>
<option value=MD5>Image MD5</option>
<select name="filter">
<option value="guide">Guide</option>
<option value="name">Name</option>
<option value="uniqueID">Unique ID</option>
<option value="tripcode">Tripcode</option>
<option value="capcode">Capcode</option>
<option value="subject">Subject</option>
<option value="comment">Comment</option>
<option value="flag">Flag</option>
<option value="filename">Filename</option>
<option value="dimensions">Image dimensions</option>
<option value="filesize">Filesize</option>
<option value="MD5">Image MD5</option>
</select>
<div></div>

View File

@ -1,4 +1,4 @@
<div class=warning><code>Keybinds</code> are disabled.</div>
<div class="warning"><code>Keybinds</code> are disabled.</div>
<div>Allowed keys: <kbd>a-z</kbd>, <kbd>0-9</kbd>, <kbd>Ctrl</kbd>, <kbd>Shift</kbd>, <kbd>Alt</kbd>, <kbd>Meta</kbd>, <kbd>Enter</kbd>, <kbd>Esc</kbd>, <kbd>Up</kbd>, <kbd>Down</kbd>, <kbd>Right</kbd>, <kbd>Left</kbd>.</div>
<div>Press <kbd>Backspace</kbd> to disable a keybind.</div>
<table><tbody>

View File

@ -1,15 +1,15 @@
<nav>
<div class=sections-list></div>
<p class='imp-exp-result warning'></p>
<div class=credits>
<a class=export>Export</a>&nbsp|&nbsp
<a class=import>Import</a>&nbsp|&nbsp
<a class=reset>Reset Settings</a>&nbsp|&nbsp
<input type=file hidden>
<a href='<%= meta.page %>' target=_blank><%= meta.name %></a>&nbsp|&nbsp
<a href='<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md' target=_blank></a>&nbsp|&nbsp
<a href='<%= meta.repo %>issues' target=_blank>Issues</a>&nbsp|&nbsp
<a href=javascript:; class='close fa fa-times' title=Close></a>
<div class="sections-list"></div>
<p class="imp-exp-result warning"></p>
<div class="credits">
<a class="export">Export</a>&nbsp|&nbsp
<a class="import">Import</a>&nbsp|&nbsp
<a class="reset">Reset Settings</a>&nbsp|&nbsp
<input type="file" hidden>
<a href="<%= meta.page %>" target="_blank"><%= meta.name %></a>&nbsp|&nbsp
<a href="<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md" target="_blank"></a>&nbsp|&nbsp
<a href="<%= meta.repo %>issues" target="_blank">Issues</a>&nbsp|&nbsp
<a href="javascript:;" class="close fa fa-times" title="Close"></a>
</div>
</nav>
<div class=section-container><section></section></div>
<div class="section-container"><section></section></div>