I've had a lot of trouble with Bookmarklets in the past, and I can't usually get them to work. I'm trying to get OpenSpritz to work:
https://gun.io/blog/openspritz-a-free-s ... okmarklet/
OpenSpritz is the FOSS alternative to Spritz ( http://www.spritzlet.com/ ) for speed reading sites. The Spritz bookmarklet seems to work right off the bat with no issues. However, OpenSpritz seems to be blocked by NoScript. Every time I click on the bookmarklet in the bookmarks toolbar, I see the counter for the number of scripts go up. The problem is, I don't see it in NoScript's script menu to allow it. How do I allow it?
OpenSpritz Bookmarklet script allow?
-
MajorLunaC
- Posts: 3
- Joined: Mon Apr 04, 2016 4:39 pm
OpenSpritz Bookmarklet script allow?
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Re: OpenSpritz Bookmarklet script allow?
Site doesn't load for me:
Can you please post the bookmarklet here directly?Secure Connection Failed
An error occurred during a connection to gun.io.
Peer using unsupported version of security protocol.
Error code: <a id="errorCode" title="SSL_ERROR_UNSUPPORTED_VERSION">SSL_ERROR_UNSUPPORTED_VERSION</a>
*Always* check the changelogs BEFORE updating that important software!
-
Re: OpenSpritz Bookmarklet script allow?
OK, loaded from Google webcache.
This bookmarklet is injecting a script element into the document, bad practice for a bookmarklet and the injected script element is indistinguishable from the script elements already on the page. You will have to (Temp-)Allow the top-level site for this bookmarklet to work.
Code: Select all
javascript:(function(){%20cb%20=%20function(){%20create_spritz();};%20var%20script=document.createElement('SCRIPT');script.src='https://miserlou.github.io/OpenSpritz/spritz.js?callback=cb?callback=cb';%20script.onload=cb;%20document.body.appendChild(script);})();*Always* check the changelogs BEFORE updating that important software!
-
-
MajorLunaC
- Posts: 3
- Joined: Mon Apr 04, 2016 4:39 pm
Re: OpenSpritz Bookmarklet script allow?
Yeah, but I already do that. That's the only way the Spritz bookmarklet works (when it does ... says servers aren't working atm). The problem is, the OpenSpritz bookmarklet is blocked at the same time that the Spritz one works.
Would a Greasemonkey script work any better? Not that there is one, just to know if I can even ask if anyone can adapt it or a similar one.
Would a Greasemonkey script work any better? Not that there is one, just to know if I can even ask if anyone can adapt it or a similar one.
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Re: OpenSpritz Bookmarklet script allow?
One thing you could try to do is slightly tweak the script the bookmarklet calls and set it up as a surrogate script (for replacement, put a file: URL pointing to the downloaded/modified script). However, I can't really give more instructions than that given that the bookmarklet points to a nonexistant site... (unless yours is different from what I posted?)
Properly designed user script is not subject to the limitation of that bookmarklet, because it runs in its own context.MajorLunaC wrote:Would a Greasemonkey script work any better? Not that there is one, just to know if I can even ask if anyone can adapt it or a similar one.
*Always* check the changelogs BEFORE updating that important software!
-
Re: OpenSpritz Bookmarklet script allow?
Oops, I missed this part:
You will also need to whitelist the site that the script originates from - e.g. if you have the same bookmarklet as I posted you'd need whitelist
however, as noted above that site seems not to exist so please don't actually whitelist that.
(emphasis mine)MajorLunaC wrote:The problem is, the OpenSpritz bookmarklet is blocked at the same time that the Spritz one works.
You will also need to whitelist the site that the script originates from - e.g. if you have the same bookmarklet as I posted you'd need whitelist
Code: Select all
https://miserlou.github.io*Always* check the changelogs BEFORE updating that important software!
-
-
MajorLunaC
- Posts: 3
- Joined: Mon Apr 04, 2016 4:39 pm
Re: OpenSpritz Bookmarklet script allow?
Ah, well then I'll see about managing to get a Greasemonkey script to work, as it seems the most promising.
Sorry for all the trouble, and Thanks for all the help!
Sorry for all the trouble, and Thanks for all the help!
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Re: OpenSpritz Bookmarklet script allow?
No problem 
*Always* check the changelogs BEFORE updating that important software!
-
Re: OpenSpritz Bookmarklet script allow?
And you've tested that it works with NoScript disabled?OpenSpritz seems to be blocked by NoScript.
(It does not.
And how could it if the site it is calling is 404?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40