Results 1 to 2 of 2

How to get rid of HTML and CSS and Javascript from a text file ?

Threaded View

  1. #1
    Registered User
    Join Date
    02-10-2021
    Location
    Canada
    MS-Off Ver
    365
    Posts
    4

    How to get rid of HTML and CSS and Javascript from a text file ?

    Hi,

    Can you guide me on how to get rid of HTML and CSS and Javascript from a text file?

    example : #fb_dialog_loader_close{clear:both;color:#fff;display:block;font-size:18px;padding-top:20px}#fb-roote
    #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, 
    .4);bottom:0;left:0;min-height:100%;position:absolute;right:0;top:0;width:100%;z-index:10000}#fb-roote
    #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading 
    iframe{visibility:hidden}.fb_dialog_mobile 
    .fb_dialog_iframe{position:sticky;top:0}.fb_dialog_content 
    .dialog_header{background:linear-gradient(from(#738aba), 
    to(#2c4987));border-bottom:1px solid;border-color:#043b87;box-shadow:white 0 1px 
    
    ...
    
     Fermer  var SM = window.SM || {}; SM.GDPR = {}; SM.GDPR.hasGDPRConsent = "True" 
    M.GDPR.GDPRBannerEnabled = "True" === 'True'; SM.GDPR.host = 
    "fr.surveymonkey.com" SM.Cookies = { get: function(name) { // returns only the 
    first one var oCrumbles = document.cookie.split(';'), oPair, sKey, sValue, i; 
    for (i = 0; i < oCrumbles.length; i++) { oPair = oCrumbles[i].split('='); sKey = 
    decodeURIComponent(oPair[0].trim()); sValue = oPair.length > 1 ? oPair[1] : ''; 
    if (sKey === name) { return decodeURIComponent(sValue); } } return ''; }, set: 
    function(name, value, expires, options) { /** Arguments: - name cookie name - 
    value cookie value - expires expiration length in age string (e.g. '52d', 
    '1y5o'), can also pass in ms - options - a dictionary of options -path cookie 
    path **/ var date, ms, sCookie = ''; if (typeof expires === 'string') { ms = 
    SM.Date.ageToMilliseconds(expires); } else { ms = expires; } date = new Date(); 
    date.setTime(date.getTime() + ms); if (options && typeof options === 'object') {

    thanks

    Regis
    Last edited by AliGW; 02-11-2021 at 09:03 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 09-10-2019, 02:05 PM
  2. [SOLVED] Selecting an option in DOM(HTML, Javascript)
    By Woulter in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-07-2018, 01:43 PM
  3. Trouble parsing HTML to click javascript button
    By fhill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2016, 02:58 PM
  4. Grab javascript / html table from a site
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-31-2014, 10:06 AM
  5. Excel to Embed to Web (HTML/Javascript)
    By makingtrails in forum Excel General
    Replies: 0
    Last Post: 02-05-2014, 07:09 AM
  6. Convert Excel to HTMl & JavaScript
    By wcdunn in forum Excel General
    Replies: 3
    Last Post: 12-03-2013, 06:39 AM
  7. Html with javascript on Excel
    By bhangale.parag in forum Excel General
    Replies: 0
    Last Post: 02-06-2009, 03:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1