Discussion Topic |
|
This thread has been locked |
Prezwoodz
climber
Anchorage
|
|
Topic Author's Reply - Apr 27, 2019 - 08:22am PT
|
Thank you everyone for the kind comments as well. I will miss posting trip reports on here but I can't see uploading images and, like jogill, image quality is really important to me as well.
If the format changes and goes back to the old than I'd be happy to come back and keep posting. I had a lot more to put into that thread!
|
|
Tarbuster
climber
right here, right now
|
|
Apr 27, 2019 - 08:40am PT
|
Well, so far, Kelsey, there are about four of us that can still see your thread in its full glory.
See here:
Hacking your browser to see photographs on Supertopo
From Nut Again!
Gang, the "hack" is pretty easy in the scheme of things. JLP deserves his own appreciation thread on supertopo for this alone.
1. Install the browser plugin "Custom Javascript for Websites 2":
https://chrome.google.com/webstore/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk?hl=en
2. Left-click on the 'cfs' icon in upper right to pop open a little window where you type in the "hack" code
3. Type in the code EXACTLY as shared in the picture from JLP. That's it!
It is a remote possibility that you have javascript disabled in your browser, but very unlikely. You would not have any normal modern websites working properly or nicely if you did that.
Note, the only reason you can't copy/paste in JLP's code is because it has some symbols that get mangled by forum text processing. So you have to look at his image and retype it yourself.
There is no magical scary stuff in that code... only "hacking" in the simplest sense of implementing a work-around. It takes all the supertopo content, and whenever it recognizes those links to external pictures, just replaces that HTML with the code to view the image inline rather than linking to it. For those who understand a little HTML, it just changes an "a href=" to an "img src=" type of html tag.
I understand the fear/stigma associated with the idea of a "hack" but really this is like using a little bailing wire to hold your muffler on your car.
|
|
perswig
climber
|
|
Apr 27, 2019 - 09:27am PT
|
It was covered and discussed in depth by both Terri Gross and Sean Hannity.
Ah-haha! That was friggin' funny.
Add me to the Kelsey fan list; this shit's getting old.
Dale
|
|
Mungeclimber
Trad climber
Nothing creative to say
|
|
Apr 27, 2019 - 11:23am PT
|
It seems an inherent conflict in the logic to both allow image uploads, but require an attestation that they are owned by you, and also block hot linking for images that you really own.
why not permit hotlinking if you attest that you own the image?
In other words, each post would have a check box and agreement you sign off on. The box can turn off the obscuring remote link and allow the embedded image for that post.
Explicit, same logic as uploading, but you also don't give over control of where you host your image.
There was reference to case law, but I may have missed it in the depth of threads without photos. Any have a citation?
|
|
MH2
Boulder climber
Andy Cairns
|
|
Apr 27, 2019 - 03:54pm PT
|
Thanks again, Roy. I hope to come around to accepting a fling at the hack. I have used a coat-hanger to hold up a piece of metal under the car, and chewing gum to plug a leak in the gas tank (temporarily).
One problem with the plug-in etc. fix is that it seems to not be in keeping with what the ST owners want.
|
|
Tarbuster
climber
right here, right now
|
|
Apr 27, 2019 - 07:49pm PT
|
Except that, MH2, I can dig up a post where RJ evenhandedly tells us that what we do with our own browsers is our own business!
The coast is clear. Those of us who are left merely need to behave. We got this!
|
|
MH2
Boulder climber
Andy Cairns
|
|
Apr 27, 2019 - 08:05pm PT
|
Got the plugin, copied the script exactly, javascript allowed, but still missing some step or other. Willing to give the fix a try. Can always go back to not viewing disallowed images, but only if I can get to the other side first.
|
|
Tarbuster
climber
right here, right now
|
|
Apr 27, 2019 - 08:09pm PT
|
Not sure why the browser tweak isn't working for everyone.
We'll get it sorted.
|
|
MH2
Boulder climber
Andy Cairns
|
|
Apr 27, 2019 - 08:16pm PT
|
I'm not sure that the script has been put into my browser, even though I entered it on the cjs screen. I may need to use the inject your own external script button but it doesn't seem right. The final step of incorporating the script into my browser may be missing.
|
|
Big Mike
Trad climber
BC
|
|
Apr 27, 2019 - 10:41pm PT
|
Andy you just have to click Save top left hand corner. Make sure you wrote it right! Also you must have javascript enabled in the settings of your browser.
I just hacked my browser! lol
var links = document.getElementsByTagName('a');
var i;
var currentLink;
var newImg;
for (i=0; i<links.length; i++)
{
currentLink = links;
if (currentLink.text == "Click to View Linked Image")
{
newImg = document.createElement('img')
newImg.src = currentLink.href;
currentLink.parentNode.insertBefore(newImg, currentLink);
currentLink.text = "";
}
}
I just started porting stuff to Steemit.com today. It's an immutable blockchain which means my posts can never be deleted. As long as the steemit chain survives (which i can ensure by running my own witness or decentralized copy of the steem server if i so wish) My posts will live on. I think this is extremely important for historical record. Obviously i'm not arrogant enough to think that my content is historical or anything but there is plenty of stuff on here that is and I would love to see some of it preserve for future generations.
Also instead of paying for a server to host my blog I get free hosting but when people like my content I get paid a little bit in Steem depending on how much Steem they hold :)
Check it out.
https://steemit.com/rockclimbing/@squamishphotos/the-technician
|
|
Big Mike
Trad climber
BC
|
|
Apr 27, 2019 - 10:43pm PT
|
Kelsey ur pics rule btw
|
|
Mike Honcho
Trad climber
Glenwood Springs, CO
|
|
Apr 28, 2019 - 07:09am PT
|
I don't speak Spanish!!!
Gang, the "hack" is pretty easy in the scheme of things. JLP deserves his own appreciation thread on supertopo for this alone.
1. Install the browser plugin "Custom Javascript for Websites 2":
https://chrome.google.com/webstore/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk?hl=en
2. Left-click on the 'cfs' icon in upper right to pop open a little window where you type in the "hack" code
3. Type in the code EXACTLY as shared in the picture from JLP. That's it!
It is a remote possibility that you have javascript disabled in your browser, but very unlikely. You would not have any normal modern websites working properly or nicely if you did that.
Note, the only reason you can't copy/paste in JLP's code is because it has some symbols that get mangled by forum text processing. So you have to look at his image and retype it yourself.
There is no magical scary stuff in that code... only "hacking" in the simplest sense of implementing a work-around. It takes all the supertopo content, and whenever it recognizes those links to external pictures, just replaces that HTML with the code to view the image inline rather than linking to it. For those who understand a little HTML, it just changes an "a href=" to an "img src=" type of html tag.
I understand the fear/stigma associated with the idea of a "hack" but really this is like using a little bailing wire to hold your muffler on your car.
|
|
MH2
Boulder climber
Andy Cairns
|
|
Apr 28, 2019 - 07:59am PT
|
Thanks Mike! And Roy. All good now.
And thanks for pointing out the way ahead, Mike. Great to hear from you and find your stuff again.
|
|
Tarbuster
climber
right here, right now
|
|
Apr 28, 2019 - 09:27am PT
|
Glad you got it figured out, Andy!
|
|
Reilly
Mountain climber
The Other Monrovia- CA
|
|
Apr 28, 2019 - 09:50am PT
|
So now there are 5 people who can reade olde stuff?
|
|
Big Mike
Trad climber
BC
|
|
Apr 28, 2019 - 12:21pm PT
|
Hack yer browser Reilly!
Andy- Glad you are sorted! nice to see you too bud!
|
|
overwatch
climber
Arizona
|
|
Apr 28, 2019 - 07:45pm PT
|
Impressive as usual nut again
|
|
Tarbuster
climber
right here, right now
|
|
Apr 28, 2019 - 07:59pm PT
|
^^^
+1
And yes, he's probably correct in that we should be referring to it as a browser tweak, as opposed to a browser hack, which sounds more intimidating.
I wonder if it could be formalized as a browser extension?
This way people wouldn't have to enter code or do any tinkering which potentially invites error.
Would also like to see one for making the YouTube links live once more.
|
|
NutAgain!
Trad climber
South Pasadena, CA
|
|
Apr 29, 2019 - 10:06am PT
|
I don't speak Spanish!!!
Hank, just think of it as the language of techno-love, and you'll be fine :)
|
|
|
SuperTopo on the Web
|