Comments on: How To Make a Bookmarklet For Your Web Application https://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/ Math lessons that click Wed, 01 Feb 2017 01:21:44 +0000 hourly 1 By: mark https://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-334400 Wed, 01 Feb 2017 01:21:44 +0000 http://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-334400 great yet I still have not figured out exactly how to create it. Everyone says ad the javascript. To what? How do you create this bookmark to ad it into?
Wordpress says drag the one they have to the bookmarks bar.. that does not work. or create a bookmarklet and ad it to the url field.. great! how to create that thing to add it to… lost…

]]>
By: Harald https://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-330550 Tue, 24 Feb 2015 09:26:21 +0000 http://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-330550 Very interesting features.
I am looking for a possibility to have a bookmark link which always links to a file of the current calender week. E.g.: link to “www.foo.com/bar CW09.pdf” Next week ist should link to “…CW10.pdf” and so on. Do you got an idea on how to accomplish this?
(The easiest would be if the provider of the files would provide a “…current.pdf” file each week but my suggestion has not been considered so far.)

]]>
By: Kevin https://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-311841 Mon, 16 Sep 2013 19:56:08 +0000 http://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-311841 @Mark on August 22, 2013 at 1:45 pm said:
“… clicking a bookmarklet in older Internet Explorer browsers triggers the unload event. …”

[scratch my previous 2 posts… I gooofed =) ]

Have you wrapped the script in a function like:
javascript:(function(){

})();

[Note: the right curly-brace “}” followed by a right parens “)” and a pair of parens “()” are necessary at the end.]

My understanding is that sometimes operations will return an “unhandled” value which could cause problems. Wrapping your code in a function should fix it.

]]>
By: Kevin https://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-311838 Mon, 16 Sep 2013 19:48:25 +0000 http://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/#comment-311838 kevinf2002+betterexplained.com@gmail.com
@Mark on August 22, 2013 at 1:45 pm:
“… clicking a bookmarklet in older Internet Explorer browsers triggers the unload event. …”

Have you wrapped the script in a function like:
javascript:(function(){
X== your bookmarklet code here … ==X
)();

[the right parens “)” and the pair of curly-braces “{}” are necessary at the end.]

My understanding is that sometimes operations will return an “unhandled” value which could cause problems. Wrapping your code in a function should fix it.

]]>