- Detection of all common fields
- Support for the
quotefield if text is selected on the page
- Date reported in UTC
You can install the script by copying the contents of the minified script into a bookmark.
From http://www.wikihow.com/Archive-Websites-on-Unix-Like-Systems on Google Chrome:
On Firefox, some websites (e.g. GitHub and Twitter) block bookmarklets from executing. If you have the developer console open while trying to run the script, you will see the following message:
Content Security Policy: The page’s settings blocked the loading of a resource at self
I'm not sure how to fix this on Firefox, but one workaround is to open the same page on Chrome and run Citewebgen there.
In this section, by "filetype" we mean the output formats, like MediaWiki,
Markdown, or Markdown footnote.
Citewebgen is written in a modular way, so that it is possible to easily add
main.js are used for all filetypes.
To add a new filetype, all you need to do is implement the
function. This function takes as input a dictionary called
metadata with all
of the metadata in separate key-value pairs. The function must return a string.
You can look at the samples
markdownfootnote-part.js to see how the function
is implemented for the existing filetypes.
Once you have implemented
printStr, place that in a file called
newfiletype-part.js. Then do:
Now the final bookmarklet is stored in
Special thanks to Ark25 for creating and hosting RefScript. I referred to the source of RefScript while working on Citewebgen. Both scripts are in the public domain.