K-Meleon
KMeleonWiki > Resources > MacroLibrary > KmmProfilactic
Submitted by: rstlne
Notes:
Profilactic is a social media and RSS aggregator that takes links, blogs, and pictures that you've posted to popular social media services and collects them into one stream. Profilactic also allows you to post links to your stream using a bookmarklet. Unfortunately, their bookmarklet doesn't work if you've set your bookmark options to open bookmarks in a new layer.
This macro is the same as using their bookmarklet, except that it works regardless of your bookmark options setting.
Invoke this macro from the document popup menu. You need to be logged into Profilactic before you do that.
Open your User Macro Folder (Edit > Configuration > User-Defined Macros) or your Macro Folder (Edit > Configuration > Macros) and create the following text file(s):
# profilactic.kmm # # Macro for sharing a link at Profilactic. (http://www.profilactic.com) # You need to be logged into Profilactic before invoking this macro. It is the # same as using their bookmarklet, except that this macro works even if you # have set your bookmark options to open bookmarks in a new layer. profilactic_run{ $__title=$TITLE==""?$URL:$TITLE; $OpenURL="http://www.profilactic.com/addeditclipping.jspc?url="; $OpenURL=$OpenURL.urlencode($URL); $OpenURL=$OpenURL."&title=".urlencode($__title); &OpenURL_InNew; } _profilactic_buildmenu{ setmenu(Document,macro,"Share on Profilactic",profilactic_run,-1); } $OnInit=$OnInit."_profilactic_buildmenu;"; $macroModules=$macroModules."profilactic;"; # vim:set tw=0: # -- The End --