I know I can use the pinboard api to "make my own interface", or use
greasemonkey, but I would need to involve my own server and write lots
of code to access the api (I know you have examples to follow). It
would be a nice feature if on the "setting tab" you could add a
"advanced settings" button that leads to an "advanced settings" page.
This "advanced settings" page would allow the user to specify a
custom /js/users/user.js or /js/users/user.css -- that ONLY gets
inserted on the main bookmark page, just before </body> tag. If would
also be nice if you could store, on your server, the "latest stable
jquery.js" version in the /js/ folder for us to include in our
custom.js file. This avoids any cross site security problems.
The code on the main page would be real easy in php.
If user.css exists, add to page.
If User.js exists, add to page.
and you would need to add a upload file system similar to your "import
bookmarks" system.
On the "advanced setting page" add two text boxes or uploads.
a) enter in text box (or upload "user.css") user specified css for
main page
b) enter in text box (or upload "user.js") user specified javascript
for main page
Also on the page you should have buttons to :
A) [disable/enable Css]
B) [disable/enable Javascript]
And of course the standard disclaimer: "Use these advanced settings at
your own risk... This files are not secure. They are available to
anyone. They are stored in a public accessable folder /js/user/ ..."
But what happens if someone screws up? Let them fix it; add to API:
A)
https://user:pass...@api.pinboard.in/disableCss
B)
https://user:pass...@api.pinboard.in/disableJavascript
C)
https://user:pass...@api.pinboard.in/disableAdvancedSettings
This would agree with your previous posts about you not spending time
on a fancy UI, but allow others to customize their experience easier
than having their own server.
Thank you
b m 2 0 1 1