Possible to view uncluttered bookmarked webpages in DTP?

Is there a way to view web pages in a reader or clutter free way/mode similar to what you can do in Safari or other browsers (with extensions)? I know I can capture a webpage archive this way, but wondering if I can view a bookmarked webpage that just shows a clean uncluttered view blocking ads and extraneous items other than text?

I know I can disable a lot in Web preferences, but it would be nice if there was a default preference to view webpages in an uncluttered view. Maybe this can’t be done with bookmarked pages? Or maybe I am missing a setting if DTP already can do this.

Thanks for any insights.

Keene

Sorry but no, there is no function similar to Safari’s Reader View in DEVONthink.

This script is a good workaround. It calls up the page in Instapaper mode.

tell application "DEVONthink 3"
	do JavaScript "function iptxt(){var d=document;try{if(!d.body)throw(0);window.location='https://www.instapaper.com/text?u='+encodeURIComponent(d.location.href);}catch(e){alert('Please wait until the page has loaded.');}}iptxt();void(0)" in think window 1
end tell
2 Likes

Interesting and a nice application of do JavaScript.

As an addition: you can also create a Smart Rule that does this automatically when opening an article

Thanks for the screenshot! Could you please post the source of the script too?

on performSmartRule(theRecords)
	tell application id "DNtp"
		repeat with theRecord in theRecords
			set theURL to URL of theRecord
			do JavaScript "function iptxt(){var d=document;try{if(!d.body)throw(0);window.location='https://www.instapaper.com/text?u='+encodeURIComponent('" & theURL & "');}catch(e){alert('Please wait until the page has loaded.');}}iptxt();void(0)" in think window 1
		end repeat
	end tell
end performSmartRule

Thank you!