Announcement

Collapse
No announcement yet.

Change drive google urls

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change drive google urls

    how do i remove the preview title and description from drive google urls? I Just the link and a custom icon?
    example of the url:

    #2
    Remove preview title and description of Google Drive links only? And not any other links? I wonder why only Google Drive links.
    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    Comment


      #3
      Because the title is ulgy since u need to be logged in to google to see the title content and description.

      the title is: google sign in.
      description: You need to register etc etc etc

      i just want the link so I can put
      file download:
      link.com

      Comment


        #4
        I'm not home I'll check later if a CSS solution is possible.
        Buy me a coffeePayPal QR Code
        My Amazon Affiliate Link
        Fast vBulletin VPS Host:
        This site is hosted by IONOS

        Comment


          #5
          Here you go...Add this custom CSS in css_additional template:

          Code:
          .b-bbcode__url--preview .title a[href^="https://drive.google.com/"],
          .b-bbcode__url--preview a[href^="https://drive.google.com/"]+.urlinfo .meta {
              display: none;
          }​
          Note that the "Google Drive Sign-in" only shows up for Google Drive links that are shared with restricted access by its owner but not if the link is shared to anyone with the link. The CSS solution above cannot distinguish that, which means all shared Google Drive links, whether restricted or not, will always have the title and description in the URL Preview hidden.
          Buy me a coffeePayPal QR Code
          My Amazon Affiliate Link
          Fast vBulletin VPS Host:
          This site is hosted by IONOS

          Comment


            #6
            Woww thanks!!!

            Comment

            Latest Posts

            Collapse

            Working...
            X
            Searching...Please wait.
            An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

            Please push the back button and reload the previous window.'
            An unexpected error was returned: 'Your submission could not be processed because the token has expired.

            Please push the back button and reload the previous window.'
            An internal error has occurred and the module cannot be displayed.
            There are no results that meet this criteria.
            Search Result for "|||"