<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yomitan/ext/js, branch 22.9.9.2</title>
<subtitle>refold-tools yomitan fork</subtitle>
<id>https://git.pipeframe.xyz/fork/yomitan/atom?h=22.9.9.2</id>
<link rel='self' href='https://git.pipeframe.xyz/fork/yomitan/atom?h=22.9.9.2'/>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/'/>
<updated>2022-09-25T13:42:20+00:00</updated>
<entry>
<title>Google Docs accessibility simplifications (#2237)</title>
<updated>2022-09-25T13:42:20+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-25T13:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=642dcb8fc9e78007d8704717b2ff10b8ab4ecafc'/>
<id>urn:sha1:642dcb8fc9e78007d8704717b2ff10b8ab4ecafc</id>
<content type='text'>
* Use getAttribute instead of dataset, in case SVG node APIs are unusual

* Use pointer-events instead of fill

* Use elementFromPoint instead of elementsFromPoint</content>
</entry>
<entry>
<title>TextSource* API updates (#2236)</title>
<updated>2022-09-25T13:37:33+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-25T13:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=75d30594511a6593044565829ad55369fecaf4cd'/>
<id>urn:sha1:75d30594511a6593044565829ad55369fecaf4cd</id>
<content type='text'>
* Move TextSourceRange static functions to DocumentUtil

getWritingMode is also simplified

* Update Google Docs range to be empty to match other range sources

* Rename imposterContainer to imposterElement

* Add static creation functions

* Add static creation function

* Remove unused collapse function

* Don't select imposter elements

* Refactor setEndOffset

* Adjust argument order for setEndOffset

* Update TextSourceRange constructor

* Remove unused isConnected

* Cache rects

* Fix test

* Remove unused getRect

* Revert "Fix test"

* Remove cachedRect

* Use the source element rect to handle scroll differences

* Writing mode update

* Remove _cachedRects update

This shouldn't be necessary as the imposter is usually detached
almost immediately after scanning, giving no time for the window
to be resized or scrolled.</content>
</entry>
<entry>
<title>Google Docs accessibility update (#2235)</title>
<updated>2022-09-25T02:44:40+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-25T02:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=8240482e9d0b6da7a996bc581c9b5304ebcf22aa'/>
<id>urn:sha1:8240482e9d0b6da7a996bc581c9b5304ebcf22aa</id>
<content type='text'>
* Update Google Docs injection script

* Create GoogleDocsUtil

* Update Frontend.js to register GoogleDocsUtil's getRangeFromPoint handler

* Update setting name and description

* Add comment

* Fix Firefox support</content>
</entry>
<entry>
<title>DocumentUtil extensibility (#2234)</title>
<updated>2022-09-24T21:17:10+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-24T21:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=da52caa15247f82377e5d914306de1713ed63cea'/>
<id>urn:sha1:da52caa15247f82377e5d914306de1713ed63cea</id>
<content type='text'>
* Update DocumentUtil.getRangeFromPoint to be extensible

* Add documentation</content>
</entry>
<entry>
<title>API loadExtensionScripts (#2233)</title>
<updated>2022-09-24T20:41:21+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-24T20:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=115c3ce3d74188bb33d73f33f7546d05d6acbee8'/>
<id>urn:sha1:115c3ce3d74188bb33d73f33f7546d05d6acbee8</id>
<content type='text'>
* Inject MV3 scripts immediately

* Add api.loadExtensionScripts</content>
</entry>
<entry>
<title>DocumentUtil static (#2232)</title>
<updated>2022-09-24T20:05:19+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-24T20:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=1e91bf151f43ad05138e862ba4a03abad6929e5f'/>
<id>urn:sha1:1e91bf151f43ad05138e862ba4a03abad6929e5f</id>
<content type='text'>
* Make all methods static

The two non-static methods are kept for temporary compatibility

* Use this instead of class name now that functions are static

* Update test

* Don't instantiate DocumentUtil

* Remove temporary non-static methods

* Remove unused global declaration</content>
</entry>
<entry>
<title>Exclude documentElement from zoom calculation (#2227)</title>
<updated>2022-09-21T01:06:39+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-21T01:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=480869c3d1d820b344d23989d2deae64a594869e'/>
<id>urn:sha1:480869c3d1d820b344d23989d2deae64a594869e</id>
<content type='text'>
* Exclude documentElement from zoom calculation

* Add an option

* Refactor zoom coordinate conversion functions

* Convert zoom coordinates for text sources

* Rename variable

* Convert rect coordinate spaces

* Handle shadow DOM</content>
</entry>
<entry>
<title>TextSourceElement surrogate pair support (#2217)</title>
<updated>2022-08-20T18:32:34+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T18:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=e7944d29b0380d46e44cc316e10a3088e9da3a8c'/>
<id>urn:sha1:e7944d29b0380d46e44cc316e10a3088e9da3a8c</id>
<content type='text'>
* Update StringUtil

* Refactor

* Handle UTF-16 surrogate pairs</content>
</entry>
<entry>
<title>New StringUtil (#2216)</title>
<updated>2022-08-20T17:11:38+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T17:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=4194252fe363e9737abf4aa407d8ce14e7743559'/>
<id>urn:sha1:4194252fe363e9737abf4aa407d8ce14e7743559</id>
<content type='text'>
* Create new StringUtil

* Use StringUtil in DOMTextScanner

* Fix order</content>
</entry>
<entry>
<title>ArrayBufferUtil (#2215)</title>
<updated>2022-08-20T16:53:22+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T16:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=d3807d88ecf40b2c37ed31d823af038a091ffca0'/>
<id>urn:sha1:d3807d88ecf40b2c37ed31d823af038a091ffca0</id>
<content type='text'>
* Rename StringUtil to ArrayBufferUtil

* Update docs

* Rename file string-util.js to array-buffer-util.js</content>
</entry>
</feed>
