Brent Simmons
3e3b6881aa
Load timeline thumbnail image in article view from local copy. Fall back to original URL if needed.
2026-10-27 14:27:29 -07:00
Brent Simmons
cfa36a413a
Keep inline aspect-ratio on iframes so embeds like Inoreader’s YouTube player don’t collapse to 150px tall. Fixes #5479 .
2026-10-10 11:16:07 -07:00
Brent Simmons
0f2d712497
Merge branch 'main' into substack-footnote-support
2026-10-06 12:07:05 -07:00
Brent Simmons
eb398b9abd
Collapse hidden iframes. Fixes extra whitespace at end of Slashdot articles.
2026-10-02 11:50:16 -07:00
Brent Simmons
d55c93376f
Remove instapaper_ignore elements from articles. Fixes #3501 .
2026-09-23 09:26:30 -07:00
Brent Simmons
f4be0f3823
Strip inline aspect-ratio styles so text no longer overlaps images that overflow their aspect-ratio boxes. Fixes #5404 .
2026-08-26 14:41:51 -07:00
Dave Marquard and Claude Opus 4.8
f28d204c12
Support Substack-style footnotes in the article popover
...
Substack footnote references are bare <a id="footnote-anchor-N"
href="#footnote-N"> anchors (not wrapped in <sup> like Multimarkdown),
and their targets are backlink anchors whose note text lives in the
following sibling elements rather than inside the target itself. Neither
the footnote badge styling nor the newsfoot popover recognized them.
- main.js: broaden styleLocalFootnotes() to also badge these bare
anchors, and let isLocalFootnote() accept the "#footnote-" hash prefix
(it previously only matched "#fn").
- newsfoot.js: add a Substack footnote format that recognizes the
reference and extracts note content from the sibling elements after
the backlink; the click handler now uses each format's own content
extractor instead of assuming the target's innerHTML.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-24 12:26:53 -07:00
Brent Simmons
921d269471
Preserve the aspect ratio of fixed-size iframes when the article width shrinks them. Helps with #4940 .
2026-08-01 10:57:58 -07:00
Brent Simmons
fe7ee7d9e3
Size inline SVG icons that depend on stripped stylesheets — honor Tailwind w-[N]/h-[N] classes and Material for MkDocs .twemoji markup. Fixes #4371 .
2026-07-26 11:01:56 -07:00
Brent Simmons
eab6a596e6
Make negative side margins zero on tables in the overflow wrapper. Fixes #4266 .
2026-07-26 10:46:04 -07:00
Brent Simmons
137aeaf901
Keep absolutely positioned feed content from escaping the article body and overlapping the title. Fixes #4566 .
2026-07-26 09:27:31 -07:00
Brent Simmons
801d8b3e85
Fix wrapFrames to detect iframe height attributes with units. Fixes #2847 .
2026-07-07 09:56:09 -07:00
Brent Simmons
6860637912
Restore showing link in status bar on hover.
2023-12-01 17:10:01 -08:00
Brent Simmons
279a99259e
Use WKUserScript to inject scripts into the page. Use permalink as base URL.
2023-11-25 11:29:56 -08:00
Maurice Parker
b43d8b6b28
Change reload so that the text size style can be used in more places.
2021-09-17 15:59:43 -05:00
Maurice Parker
e7a2dfefdd
Change the name of the image source to reload to bypass WKWebView caching.
2021-09-07 12:29:23 -05:00
Maurice Parker
458f918c4d
Remove the autoplay attribute from videos if they have it. Fixes #2973
2021-04-08 09:08:19 -05:00
Jed Fox
38827a8c2a
Remove wp-smiley images
2021-03-11 22:47:34 -05:00
Maurice Parker
6ef29e3927
Update the text size using JavaScript so that the web page doesn't reload. Fixes #2641
2020-12-08 19:00:56 -06:00
Nate Weaver
755ca7998e
Replace String.match() with RegExp.test(); it's slightly more efficient when we don't need the actual result
2020-11-20 11:30:32 -06:00
Nate Weaver
470b8514e4
Make regex case-insensitive
2020-11-20 11:28:59 -06:00
Nate Weaver
a227d6124a
Add vh/vw to the relative unit check; checking for digits isn't needed
2020-11-20 11:27:08 -06:00
Nate Weaver
6d7cc4d386
Constrain the height of iframes that are percent-sized relative to the document body to 50% of the viewport width
2020-11-20 11:22:07 -06:00
Nate Weaver
72ce1e3f00
Strip position from style attributes
2020-11-20 11:02:30 -06:00
Maurice Parker
fb592e192c
Only pause video that has controls (and thus sound)
2020-10-30 19:16:15 -05:00
Maurice Parker
f7d5cf4f58
Fix javascript syntax error
2020-10-30 17:25:25 -05:00
Maurice Parker
5338cd88fe
Automatically loop and play Twitter animated gifs without video controls
2020-10-30 16:43:32 -05:00
Maurice Parker
a500166af0
Merge branch 'ios-release' into main
2020-08-15 11:03:29 -05:00
Maurice Parker
e1c8479515
Prevent Twitter embeds from cutting off. Issue #2166
2020-07-07 11:47:52 -05:00
Nate Weaver
dc57981376
Only wrap iframes that don't specify their own height
...
(master version of e183a5406c )
2020-07-02 04:32:58 -05:00
Nate Weaver
6723599ea0
Strip inline max-width and max-height from elements
2020-05-20 16:36:30 -05:00
Nate Weaver
f5101d44a4
Strip inline max-width and max-height from elements
2020-05-20 16:15:04 -05:00
Nate Weaver
183d703fd3
Use classList instead of string manipulation
2020-04-17 07:09:49 -05:00
Maurice Parker
6d085fdacf
Inline videos and enable player controls for both Mac and iOS. Issue #1952
2020-03-28 00:56:29 -05:00
Maurice Parker
770206df60
Merge branch 'ios-release'
2020-03-17 17:19:31 -05:00
Maurice Parker
36841602a5
Change article rendering to use loadHTMLString instead of JavaScript. Issue #1923
2020-03-17 17:18:24 -05:00
Maurice Parker
5b5eaf6bb7
Merge branch 'ios-release'
2020-03-14 17:13:25 -05:00
Nate Weaver
781dd2ff73
Fix null error in wrapTables()
2020-03-12 18:32:42 -05:00
Nate Weaver
76dd3abff2
Properly style footnotes that have been absoluted
2020-03-12 18:32:42 -05:00
Maurice Parker
94c6ca428f
Merge branch 'mac-release'
2020-03-01 16:32:31 -08:00
Maurice Parker
2ae021960b
Move account files to the documents directory and out of the shared container. Issue #1784
2020-02-12 16:21:48 -08:00
Nate Weaver
447cc44b8e
Put <title> and <base> in the <head> instead of <body>
...
This also means renderHTML() is no longer needed.
2020-01-30 06:15:14 -06:00
Maurice Parker
c6beb3c9dd
Don't try to convert to an absolute img url when the img url is already absolute. Issue #1726
2020-01-28 15:39:02 -07:00
Maurice Parker
dd5633b5ae
Change to use the correct URL when reloading an image.
2020-01-27 16:27:13 -07:00
Maurice Parker
539722d685
Change Feedbin Twitter images to use the canonical source instead of Feedbin image servers.
2020-01-17 11:41:04 -07:00
Maurice Parker
38ef0c2515
Convert src to use Feedbin proxy images when they are available. Issue #1632
2020-01-16 17:14:38 -07:00
Maurice Parker
0a29535412
Merge pull request #1496 from Wevah/table-overflow-wrapper
...
Table overflow wrapper
2019-12-31 16:24:43 -07:00
Nate Weaver
fcea33d61f
Only strip out color, background, and font css properties
...
Prevents icon images from rendering super-huge.
2019-12-30 18:30:10 -06:00
Nate Weaver
792fcddaf6
Update comment
2019-12-30 17:35:47 -06:00
Nate Weaver
58ef7600fb
Avoid copying the table and use querySelector()
...
(Since there's only one .articleBody.)
2019-12-30 17:24:34 -06:00