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.
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
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