What #:~:text= do in url? - url

I noticed that google can highlight exact sentences at search results after clicking a link. After a short research I found out that browser highlights some text at page if there are #:~:text=your_text in url.
For example, a phrase "search results" will be highlighted if you click this link (in new tab) - What #:~:text= do in url?
I want to read more info about this, but googling #:~:text= doesn't help. Can you explain how it works and give a link to a specification please?

Related

Google Slide API getting oauth2Client.getToken

I am following this tutorial from Google Slide API.
Google Slide
After setting up Google project etc I run the code but it stops here and asking this questions:
"Enter the code from that page here"
Where do I get this code?
It also opens my document folder in Windows 10 when it gets here.
On the line before, It will give you a link, copy and paste that link into your browser and it will give you a code. The code will be a long string of gibberish made up of letters and numbers. Paste that code back into command prompt/terminal.

CKEditor: how to get clcikable links

I’ve followed Michael Harti Ruby on Rails tutorial and created ruby on rails app.
I’ve added some functionality as formatted text (link below) by implementing SKEditor.
ruby on rails: text filed formatting
So, right now text formatting is fine but the links are not clickable.
I mean, when users type for ex, http:://www/yahoo.com, they could not just click on it and go to yahoo.page. - it is just text instead of links.
I use
https://github.com/tsechingho/ckeditor-rails
and followed installation until Advanced Usage
to get formatted text.
How to make link clickable?
Advanced Usage said
“Add your app/assets/javascripts/ckeditor/config.js.coffee like..”
But right now, in my frame I have only app/assets/stylesheets…..
I create folder ckeditor and put file contents.css.scss and other files as well on it follow Advance Usage CKEditor(link above).
Is it right approach or should I do something differently?
But after those adding, I still have no clickable links……
How to get clcikable links using CKEditor
Thanks.
Notice the image below, I have first selected a text then clicked on link sign present at the second row of toolbar and finally added a link.
hope this helps

CQ5 author. hyperlinks are getting shortened

In author environment in CQ5, there exists many hyperlinks on a page.
For example:
"login account". I have given the path "www.example.com/content/sites/us/en/home/accounts/login.html". But when i hit the hyperlink the it is getting redirected to "www.example.com/accounts/login.html" and it is giving not found error.
Even in preview mode when i inspect element the hyperlink then also it is showing the shortened URL. Please help

Solr Search focus the exact match when open the document

I want that when we click on search result link for searched keyword,it should open the docuement(pdf) with focus on first appearence of searched keyword.
Please check for Solr Highlighting

Highlights Epub open in UIWebView

Any one can help me out for highlighting on epub. I open epub on UIWebView and allow user to highlight the text which he can see in future too. I am having database to store highlights detail. I am able to highlight using javascript. But since it uses range etc it remain till page is not change or reload.
Those who donot know what is epub you can suggest me on simple html page.
Please any one can suggest me how to implement highlight just like ibook have
Any logics?
Thanks in advance
See the following for the Javascript required:
https://github.com/fedefrappi/AePubReader/blob/master/AePubReader/SearchWebView.js
Download entire project to see how it's used.

Resources