Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Revert commits 7036095 and 4fd8445
Figured out you can append to Lua functions so I'll leave this for |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a2d3a5dc830572a7ed756074cbab6da9 |
User & Date: | base@atomicules.co.uk 2015-08-07 22:08:22 |
Context
2015-08-07
| ||
22:08 |
Revert commits 7036095 and 4fd8445
Figured out you can append to Lua functions so I'll leave this for | |
20:32 | Add comment about how last commit not related to Pinboard check-in: b8e00b07b3 user: base@atomicules.co.uk tags: master, trunk | |
Changes
Changes to pinboard.lua.
︙ | ︙ | |||
50 51 52 53 54 55 56 | html = string.gsub (html, '(<div id="top_menu">\n<a href="/u:)(%w-)(/".-</a> ‧ )', '%1%2%3<a href="/u:%2/starred/" >starred</a> ‧ <a href="/u:%2/tweets/" >tweets</a> ‧') return html elseif string.find(url, "://pinboard.in/add%?url=") then --need to escape the ? here --Remove delete and destroy from the add page. html = string.gsub (html, '<div style="display:inline" id="delete_.-</div>', '') html = string.gsub (html, '<div style="visibility:hidden;display:none" class="delete_div" id="destroy_.-</div>', '') return html | < < < < < < < < < | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | html = string.gsub (html, '(<div id="top_menu">\n<a href="/u:)(%w-)(/".-</a> ‧ )', '%1%2%3<a href="/u:%2/starred/" >starred</a> ‧ <a href="/u:%2/tweets/" >tweets</a> ‧') return html elseif string.find(url, "://pinboard.in/add%?url=") then --need to escape the ? here --Remove delete and destroy from the add page. html = string.gsub (html, '<div style="display:inline" id="delete_.-</div>', '') html = string.gsub (html, '<div style="visibility:hidden;display:none" class="delete_div" id="destroy_.-</div>', '') return html end end function new_edit_link (s) local _,_,link = string.find (s, '<a class="bookmark_title.-href="(.-)"') local login,token = readnetrc() |
︙ | ︙ |