mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing bookmarklet to use https for every bookmarklet.
This commit is contained in:
parent
87eb599977
commit
6291fc913d
7 changed files with 1 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 113 KiB |
Binary file not shown.
Before Width: | Height: | Size: 291 KiB |
Binary file not shown.
Before Width: | Height: | Size: 875 KiB |
Binary file not shown.
Before Width: | Height: | Size: 513 KiB |
Binary file not shown.
Before Width: | Height: | Size: 380 KiB |
Binary file not shown.
Before Width: | Height: | Size: 101 KiB |
|
@ -1,5 +1,5 @@
|
|||
NEWSBLUR.generate_bookmarklet = function() {
|
||||
var href = "javascript:function newsblur_bookmarklet() { var d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location; try{ if(!b) { throw(0); } d.title = '(Sharing...) ' + d.title; z.setAttribute('src',l.protocol+'//"+NEWSBLUR.URLs['domain']+"/api/add_site_load_script/"+NEWSBLUR.Globals['secret_token']+"?url='+encodeURIComponent(l.href)+'&time='+(new Date().getTime())); b.appendChild(z); } catch(e) {alert('Please wait until the page has loaded.');}}newsblur_bookmarklet();void(0)";
|
||||
var href = "javascript:function newsblur_bookmarklet() { var d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location; try{ if(!b) { throw(0); } d.title = '(Sharing...) ' + d.title; z.setAttribute('src','https://"+NEWSBLUR.URLs['domain']+"/api/add_site_load_script/"+NEWSBLUR.Globals['secret_token']+"?url='+encodeURIComponent(l.href)+'&time='+(new Date().getTime())); b.appendChild(z); } catch(e) {alert('Please wait until the page has loaded.');}}newsblur_bookmarklet();void(0)";
|
||||
|
||||
var $bookmarklet = $.make('a', {
|
||||
className: 'NB-goodies-bookmarklet-button',
|
||||
|
|
Loading…
Add table
Reference in a new issue